-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
61 lines (47 loc) · 1.5 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
##
# Copyright (c) 2008-2015 Sprymix Inc.
# All rights reserved.
#
# See LICENSE for details.
##
import os
from setuptools import setup
readme = open(os.path.join(os.path.dirname(__file__), 'README.rst')).read()
def find_packages(*roots):
result = set()
for root in roots:
for dirpath, _, _ in os.walk(root):
package = dirpath.replace(os.path.sep, '.')
if '__pycache__' not in package:
result.add(package)
return result
setup_args = {
'name': 'importkit',
'version': '0.5.8',
'description': ('Importkit is a Python library for making anything '
'importable as a Python module.'),
'long_description': readme,
'maintainer': 'Sprymix Inc.',
'maintainer_email': '[email protected]',
'url': 'https://github.com/sprymix/importkit',
'platforms': ['any'],
'ext_modules': [],
'packages': find_packages('importkit'),
'include_package_data': True,
'exclude_package_data': {
'': ['.gitignore']
},
'install_requires': [
'PyYAML>=3.11'
],
'classifiers': [
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
]
}
setup(**setup_args)