forked from alekseyig/PyAssembly
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
41 lines (29 loc) · 1.05 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
try:
from pip._internal.req import parse_requirements
except ImportError: # for pip <= 9.0.3
from pip.req import parse_requirements
from setuptools import setup, find_packages
VERSION = "2.2.1-1science"
PACKAGE_NAME = "pyassembly"
reqs = parse_requirements('requirements.txt', session=False)
requirements = [str(ir.req) for ir in reqs]
setup(
name=PACKAGE_NAME,
version=VERSION,
description="Creates an egg or a zip distribution with all its transitive dependencies",
author="Aleksey Zhukov",
author_email='alekseyig@hotmail.com',
license='MIT',
platforms=["any"],
url="https://github.com/alekseyig/pyassembly",
keywords=['egg', 'zip', 'transitive', 'dependencies', 'assembly'],
packages=find_packages(include=['pyassembly', 'pyassembly.*'],
exclude=['*.test.*', '*.test']),
install_requires=requirements,
package_data={
PACKAGE_NAME: ['../requirements.txt']
},
entry_points={
'distutils.commands': ['pyassembly = pyassembly.main:pyassembly']
}
)