forked from ScCcWe/PyMySQLDao
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
49 lines (41 loc) · 1.41 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
# !/usr/bin/env python
# -*- coding: utf-8 -*-
# file_name: setup.py.py
# author: ScCcWe
# time: 2022/3/6 11:34 下午
# import os
import setuptools
with open("./README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
version_str = "0.0.7"
def get_install_requires():
install_requires = ["PyMySQL"]
# if os.name == "nt": # Windows
# install_requires.append("")
return install_requires
setuptools.setup(
name="pymysql_dao",
version=version_str,
author="ScCcWe",
author_email="[email protected]",
description="A functional enhancement package that focus on crud based PyMySQL",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/ScCcWe/PyMySQLDao",
project_urls={
"Bug Tracker": "https://github.com/ScCcWe/PyMySQLDao/issues",
},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
# package_dir={"": "pymysqldao"},
# packages=setuptools.find_packages(where="pymysqldao", exclude=["tests*"]),
packages=setuptools.find_packages(exclude=["tests*"]),
install_requires=get_install_requires(),
python_requires=">=3.7",
)