-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (32 loc) · 1004 Bytes
/
setup.py
File metadata and controls
38 lines (32 loc) · 1004 Bytes
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
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
requirements = []
with open('requirements.txt') as file_requirements:
requirements = file_requirements.read().splitlines()
about = {}
with open(os.path.join(here, 'cli', '__version__.py'), 'r') as f:
exec(f.read(), about)
setup(
name=about['__title__'],
version=about['__version__'],
description=about['__description__'],
install_requires=requirements,
packages=find_packages(exclude=['test']),
python_requires='>=3.5',
include_package_data=True,
package_data={},
zip_safe=False,
entry_points={
'console_scripts': [
'mycli = cli.main:entry_point'
]
},
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
]
)