-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
27 lines (24 loc) · 904 Bytes
/
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
import setuptools
from bdtime import version
from m2r import parse_from_file
# with open("README.md", "r", encoding='utf-8') as fh:
# long_description = fh.read()
long_description = parse_from_file('README.md') # .markdown必须转换为.rst, 否则有可能报错
setuptools.setup(
name="bdtime",
version=version(),
author="bode135",
author_email='[email protected]', # 作者邮箱
description="bode\'s private time model.",
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/bode135/bdtime', # 主页链接
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
# install_requires=['keyboard', ], # 依赖模块
)