-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (32 loc) · 1000 Bytes
/
setup.py
File metadata and controls
36 lines (32 loc) · 1000 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
"""Setup file for myp"""
import setuptools
from myp import MYPReader
with open("README.md","r") as fh:
long_description = fh.read()
myp = MYPReader()
requirements = myp.get_dependencies()
setuptools.setup(
name=myp.get_data("name"),
version=myp.get_data("version"),
author=myp.get_data("author"),
author_email=myp.get_data("author_email"),
description=myp.get_data("description"),
long_description=long_description,
long_description_content_type="text/markdown",
url=myp.get_data("url"),
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development",
"Natural Language :: English"
],
install_requires=requirements,
setup_requires=requirements,
python_requires='>=3.6',
entry_points='''
[console_scripts]
myp=myp.__main__:cli
''',
)