forked from ivankorobkov/python-inject
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (40 loc) · 1.38 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
from distutils.core import setup
import sys
def read_description():
with open('README.md', 'r') as f:
return f.read()
setup(
name='Inject',
version='3.5.1dev0',
url='https://github.com/ivankorobkov/python-inject',
license='Apache License 2.0',
author='Ivan Korobkov',
author_email='[email protected]',
description='Python dependency injection framework',
long_description=read_description(),
long_description_content_type="text/markdown",
package_dir={'': 'src'},
py_modules=['inject'],
data_files=[
(
'lib/python{}.{}/site-packages'.format(*sys.version_info[:2]),
['src/inject.pyi']
),
(
'shared/typehints/python{}.{}'.format(*sys.version_info[:2]),
['src/inject.pyi']
)
],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries :: Python Modules']
)