-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathsetup.py
39 lines (33 loc) · 1.09 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
import setuptools
import os
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'rcute_cozmars_server', 'version.py')) as f:
ns = {}
exec(f.read(), ns)
version = ns['__version__']
description="R-Cute 教育机器人 Cozmars 固件"
with open('./requirements.txt', 'r') as f:
requirements = [a.strip() for a in f]
setuptools.setup(
name="rcute-cozmars-server",
version=version,
author="Huang Yan",
author_email="[email protected]",
license="Non-Commercial",
description=description,
long_description=f"#rcute-cozmars-server\n\n{description}",
long_description_content_type="text/markdown",
url="https://github.com/hyansuper/rcute-cozmars-server",
packages=['rcute_cozmars_server'],
install_requires=requirements,
include_package_data=True,
classifiers=(
"Programming Language :: Python :: 3.7",
"Operating System :: OS Independent",
),
# entry_points={
# 'console_scripts': [
# 'rcute_cozmars_server = rcute_cozmars_server.__main__:main'
# ]
# },
)