-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
44 lines (39 loc) · 1.22 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
import setuptools
import os
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, "README.md"), "r") as fh:
long_description = fh.read()
with open(os.path.join(here, 'requirements.txt')) as fh:
install_requires = [line.rstrip() for line in fh.readlines()]
about = {}
with open(os.path.join(here, "ti842py", "__version__.py"), "r") as f:
exec(f.read(), about)
setuptools.setup(
name=about["__title__"],
version=about["__version__"],
author=about["__author__"],
author_email=about["__author_email__"],
description=about["__description__"],
long_description=long_description,
long_description_content_type="text/markdown",
url=about["__url__"],
install_requires=install_requires,
entry_points={
'console_scripts': [
'ti842py = ti842py.main:main'
]
},
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
"Operating System :: POSIX :: Linux",
"Environment :: Console",
"Development Status :: 4 - Beta",
"Intended Audience :: End Users/Desktop",
"Intended Audience :: Developers"
],
python_requires='>=3.6',
include_package_data=True
)