-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
61 lines (57 loc) · 1.96 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import sys
from setuptools import setup
if sys.version_info[0] == 2:
if not sys.version_info >= (2, 7):
raise ValueError('This package requires Python 2.7 or newer')
elif sys.version_info[0] == 3:
if not sys.version_info >= (3, 3):
raise ValueError('This package requires Python 3.3 or newer')
else:
raise ValueError('Unrecognized major version of Python')
__project__ = 'shortcut'
__desc__ = 'A X platform super simple api and command line application for creating shortcuts'
__version__ = '0.0.2'
__author__ = "Martin O'Hanlon"
__author_email__ = '[email protected]'
__license__ = 'MIT'
__url__ = 'https://github.com/martinohanlon/shortcut'
#__requires__ = []
__extra_requires__ = {
':sys_platform == "win32"': [
'pypiwin32',
'winshell',
],
}
__classifiers__ = [
"Development Status :: 3 - Alpha",
# "Development Status :: 4 - Beta",
# "Development Status :: 5 - Production/Stable",
"Intended Audience :: End Users/Desktop",
"Topic :: Desktop Environment",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Environment :: MacOS X",
"Environment :: Win32 (MS Windows)",
]
if __name__ == '__main__':
setup(name='shortcut',
version = __version__,
description = __desc__,
url = __url__,
author = __author__,
author_email = __author_email__,
license= __license__,
packages = [__project__],
#install_requires = __requires__,
extras_require = __extra_requires__,
entry_points={
'console_scripts': [
'shortcut = shortcut:main'
]},
zip_safe=False)