-
Notifications
You must be signed in to change notification settings - Fork 115
/
setup.py
29 lines (24 loc) · 921 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
28
29
import setuptools # 导入setuptools打包工具
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
# python setup.py sdist & python setup.py bdist_wheel
# twine upload dist/langup-0.0.10* -u__token__
setuptools.setup(
name="langup",
version='0.0.10',
author="ran",
author_email="[email protected]",
description="社交网络机器人",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/jiran214/langup-ai/tree/master",
packages=setuptools.find_packages("src"),
package_dir={"": "src"},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.8',
install_requires=[line.strip() for line in open(file='./requirements.txt').readlines() if line]
)