-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
43 lines (40 loc) · 1.26 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
#!/usr/bin/env python
# -*- encoding: UTF-8 -*-
# Created by CaoDa on 2021/7/14 11:23
import setuptools
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
install_requires = []
with open("requirements.txt", "r", encoding="utf8") as f:
for line in f.readlines():
line = line.strip()
if line:
install_requires.append(line)
setuptools.setup(
name="myvc",
version="0.0.12",
author="CaoDa",
author_email="[email protected]",
description="A MySQL Version Control Util",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/459217974/myvc",
project_urls={
"Bug Tracker": "https://github.com/459217974/myvc/issues",
},
classifiers=[
"Intended Audience :: Developers",
"Operating System :: Unix",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
package_dir={"": "src"},
packages=setuptools.find_packages(where="src"),
python_requires=">=3.6",
install_requires=install_requires,
entry_points={
'console_scripts': ['myvc=myvc_app.myvc:main'],
},
include_package_data=True,
)