-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (30 loc) · 963 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
30
31
32
33
34
import setuptools
import re
with open("README.md", "r") as fh:
long_description = fh.read()
with open("mirror/__main__.py", "r") as fh:
version = re.search(r'__version__ = "(.*)"', fh.read()).group(1)
with open("requirements.txt", "r") as fh:
install_requires = fh.read().splitlines()
setuptools.setup(
name="mirror.py",
version=version,
author="Roul",
author_email="[email protected]",
description="Mirror Manager written in python",
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
python_requires=">=3.8.0",
install_requires=install_requires,
entry_points={
"console_scripts": [
"mirror = mirror.__main__:main",
]
},
)