|
1
|
|
|
import os |
|
2
|
|
|
from setuptools import setup |
|
3
|
|
|
|
|
4
|
|
|
requirements = [ |
|
5
|
|
|
'astunparse>=1.1.0', |
|
6
|
|
|
] |
|
7
|
|
|
|
|
8
|
|
|
about = {} |
|
9
|
|
|
here = os.path.abspath(os.path.dirname(__file__)) |
|
10
|
|
|
with open(os.path.join(here, 'injectify', '__version__.py'), 'r') as f: |
|
11
|
|
|
exec(f.read(), about) |
|
12
|
|
|
|
|
13
|
|
|
with open('README.rst', encoding='utf-8') as readme_file: |
|
14
|
|
|
readme = readme_file.read() |
|
15
|
|
|
|
|
16
|
|
|
setup( |
|
17
|
|
|
name=about['__title__'], |
|
18
|
|
|
version=about['__version__'], |
|
19
|
|
|
description=about['__description__'], |
|
20
|
|
|
long_description=readme, |
|
21
|
|
|
long_description_content_type='text/x-rst', |
|
22
|
|
|
author=about['__author__'], |
|
23
|
|
|
author_email=about['__author_email__'], |
|
24
|
|
|
url=about['__url__'], |
|
25
|
|
|
packages=['injectify'], |
|
26
|
|
|
package_dir={'injectify': 'injectify'}, |
|
27
|
|
|
include_package_data=True, |
|
28
|
|
|
python_requires='>=3.5', |
|
29
|
|
|
install_requires=requirements, |
|
30
|
|
|
license=about['__license__'], |
|
31
|
|
|
zip_safe=False, |
|
32
|
|
|
classifiers=[ |
|
33
|
|
|
'Development Status :: 4 - Beta', |
|
34
|
|
|
'Intended Audience :: Developers', |
|
35
|
|
|
'Natural Language :: English', |
|
36
|
|
|
'License :: OSI Approved :: BSD License', |
|
37
|
|
|
'Programming Language :: Python :: 3 :: Only', |
|
38
|
|
|
'Programming Language :: Python :: 3', |
|
39
|
|
|
'Programming Language :: Python :: 3.5', |
|
40
|
|
|
'Programming Language :: Python :: 3.6', |
|
41
|
|
|
'Programming Language :: Python :: 3.7', |
|
42
|
|
|
'Programming Language :: Python :: 3.8', |
|
43
|
|
|
'Topic :: Software Development :: Code Generators', |
|
44
|
|
|
], |
|
45
|
|
|
) |
|
46
|
|
|
|