We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ff1a04 commit 169786dCopy full SHA for 169786d
setup.py
@@ -8,6 +8,12 @@
8
SETUP_DIR = os.path.dirname(__file__)
9
README = os.path.join(SETUP_DIR, 'README.rst')
10
11
+# if python3 runtime and `setup.py install` is called
12
+if sys.version_info.major == 3 and sys.argv[1] == 'install':
13
+ print("Aborting installation. CWL Tool doesn't support Python 3 currently.")
14
+ print("Install using Python 2 pip.")
15
+ exit(1)
16
+
17
try:
18
import gittaggers
19
@@ -64,4 +70,10 @@
64
70
},
65
71
zip_safe=True,
66
72
cmdclass={'egg_info': tagger},
73
+ classifiers=[
74
+ 'Development Status :: 5 - Production/Stable',
75
+ 'Operating System :: POSIX',
76
+ 'Operating System :: OS Independent',
77
+ 'Programming Language :: Python :: 2 :: Only',
78
+ ]
67
79
)
0 commit comments