summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorEric Lin <anselor@gmail.com>2021-01-05 11:38:48 -0500
committeranselor <anselor@gmail.com>2021-01-22 10:38:44 -0500
commit554c0d136115353a4390029cffad753d9e21072f (patch)
treed7dc0a4b8970d2ff7f454305d3e16627787f7ca4 /plugins
parente0dee46ca871e56523059b1566577ff781f6fb63 (diff)
downloadcmd2-git-554c0d136115353a4390029cffad753d9e21072f.tar.gz
Increase the minimum versions for setuptools. Some documentation seems to indicate these are the versions that resolve scm_version issues
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ext_test/setup.py18
1 files changed, 10 insertions, 8 deletions
diff --git a/plugins/ext_test/setup.py b/plugins/ext_test/setup.py
index 3384527c..1e989824 100644
--- a/plugins/ext_test/setup.py
+++ b/plugins/ext_test/setup.py
@@ -11,15 +11,15 @@ here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
+scm_version = {
+ 'root': '../..',
+ 'relative_to': __file__,
+ 'git_describe_command': 'git describe --dirty --tags --long --match "plugin-ext-test*"',
+}
+
setuptools.setup(
name='cmd2-ext-test',
- version='0.2.0',
- # TODO: Figure out why this doesn't work on CI Server
- # use_scm_version={
- # 'root': '../..',
- # 'relative_to': __file__,
- # 'git_describe_command': 'git describe --dirty --tags --long --match plugin-ext-test*'
- # },
+ version=scm_version,
description='External test plugin for cmd2. Allows for external invocation of commands as if from a cmd2 pyscript',
long_description=long_description,
@@ -35,7 +35,9 @@ setuptools.setup(
python_requires='>=3.5',
install_requires=['cmd2 >= 0.9.4, <=2'],
- setup_requires=['setuptools_scm >= 3.0'],
+ setup_requires=[
+ 'setuptools >= 42',
+ 'setuptools_scm >= 3.4'],
classifiers=[
'Development Status :: 5 - Production/Stable',