Skip to content

Commit 554c0d1

Browse files
committed
Increase the minimum versions for setuptools. Some documentation seems to indicate these are the versions that resolve scm_version issues
1 parent e0dee46 commit 554c0d1

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

plugins/ext_test/setup.py

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,15 @@
1111
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
1212
long_description = f.read()
1313

14+
scm_version = {
15+
'root': '../..',
16+
'relative_to': __file__,
17+
'git_describe_command': 'git describe --dirty --tags --long --match "plugin-ext-test*"',
18+
}
19+
1420
setuptools.setup(
1521
name='cmd2-ext-test',
16-
version='0.2.0',
17-
# TODO: Figure out why this doesn't work on CI Server
18-
# use_scm_version={
19-
# 'root': '../..',
20-
# 'relative_to': __file__,
21-
# 'git_describe_command': 'git describe --dirty --tags --long --match plugin-ext-test*'
22-
# },
22+
version=scm_version,
2323

2424
description='External test plugin for cmd2. Allows for external invocation of commands as if from a cmd2 pyscript',
2525
long_description=long_description,
@@ -35,7 +35,9 @@
3535

3636
python_requires='>=3.5',
3737
install_requires=['cmd2 >= 0.9.4, <=2'],
38-
setup_requires=['setuptools_scm >= 3.0'],
38+
setup_requires=[
39+
'setuptools >= 42',
40+
'setuptools_scm >= 3.4'],
3941

4042
classifiers=[
4143
'Development Status :: 5 - Production/Stable',

0 commit comments

Comments
 (0)