-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
52 lines (43 loc) · 1.59 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
import setuptools
import sys
sys.path.append("src/shellac")
import version
# Change the following to represent your package:
pkg_name = 'shellac'
pkg_url = 'http://www.github.com/mrichar1/shellac'
pkg_license = 'AGPL 3'
pkg_description = "+shellac+ is an extension of the standard python library 'cmd', which aims to offer an alternative approach to nesting commands."
pkg_author = 'Matthew Richardson, Bruce Duncan'
pkg_author_email = '[email protected]'
pkg_classifiers = [
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 3',
]
install_requires = ['rl']
# Neither OSX nor Windows ship with GNU readline
if sys.platform == 'darwin':
install_requires.append('gnureadline')
elif sys.platform.startswith('win'):
install_requires.append('pyreadline>=2.0')
def main():
setuptools.setup(
name=pkg_name,
version=version.get_version(),
url=pkg_url,
license=pkg_license,
description=pkg_description,
long_description=pkg_description,
classifiers=pkg_classifiers,
author=pkg_author,
author_email=pkg_author_email,
packages=setuptools.find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
package_data = {'': ['LICENSE']},
install_requires=install_requires,
test_suite="{0}.{1}".format(pkg_name, "tests"),
)
if __name__ == "__main__":
main()