-
Notifications
You must be signed in to change notification settings - Fork 34
/
setup.py
51 lines (44 loc) · 1.41 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
45
46
47
48
49
50
51
import os
from codecs import open
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
package_name = "mloader"
about = {}
with open(
os.path.join(here, package_name, "__version__.py"), "r", "utf-8"
) as f:
exec(f.read(), about)
with open("README.md", "r", "utf-8") as f:
readme = f.read()
setup(
name=about["__title__"],
version=about["__version__"],
description=about["__description__"],
long_description=readme,
long_description_content_type="text/markdown",
url=about["__url__"],
packages=find_packages(),
python_requires=">=3.6",
install_requires=[
"Click>=6.2",
"protobuf~=3.6",
"requests>=2"
],
license=about["__license__"],
zip_safe=False,
classifiers=[
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
],
project_urls={"Source": about["__url__"]},
entry_points={
"console_scripts": [f"{about['__title__']} = mloader.__main__:main"]
},
)