-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
37 lines (33 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
import os
import setuptools
readme_filepath = os.path.join(os.path.dirname(os.path.abspath(__file__)), "README.md")
with open(readme_filepath, "r", encoding="utf8") as fh:
long_description = fh.read()
version_filepath = os.path.join(os.path.dirname(os.path.abspath(__file__)), "VERSION")
with open(version_filepath, "r", encoding="utf8") as fh:
version = fh.read().strip()
setuptools.setup(
name="smoe",
version=version,
long_description_content_type="text/markdown",
long_description=long_description,
packages=setuptools.find_packages(exclude=["tests", "tests.*", "docs", "docs.*"]),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
python_requires=">=3.11",
extras_require={
"dev": [
"pytest",
"coverage",
"black",
"isort",
"flake8",
"pre-commit",
]
},
include_package_data=True,
entry_points={},
)