-
Notifications
You must be signed in to change notification settings - Fork 246
/
setup.py
52 lines (44 loc) · 1.45 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
52
import runpy
import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
VERSION = runpy.run_path(
os.path.join(here, "lyrebird", "version.py")
)["VERSION"]
def read_requirements(name):
with open(os.path.join(here, name), encoding='utf-8') as f:
require_str = f.read()
return require_str.split()
with open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
setup(
name='lyrebird',
version=VERSION,
packages=['lyrebird'],
url='https://github.com/meituan/lyrebird',
author='HBQA',
long_description=long_description,
long_description_content_type="text/markdown",
include_package_data=True,
zip_safe=False,
classifiers=[
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
],
entry_points={
'console_scripts': [
'lyrebird = lyrebird.manager:main'
]
},
install_requires=read_requirements('requirements.txt.lock'),
extras_require={
'dev': read_requirements('requirements.dev.txt')
}
)