-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
55 lines (49 loc) · 1.66 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
53
54
55
"""Setup and install project_template
Typical usage:
python setup.py develop
python setup.py install
python setup.py test
"""
import setuptools
module_folder = "project_template"
module_name = "PythonProjectTemplate"
with open("README.md", encoding="utf-8") as file:
longDescription = file.read()
required = []
extras_require = {
"test": ["AutoDict", "coverage", "pylint", "numpy"],
"dev": [
"AutoDict", "coverage", "pylint", "numpy", "toml", "witch-ver", "yapf"
]
}
setuptools.setup(
name="PythonProjectTemplate",
use_witch_ver=True,
description="A template repository for Python projects",
long_description=longDescription,
long_description_content_type="text/markdown",
license="MIT",
packages=setuptools.find_packages(exclude=["tests", "tests.*"]),
package_data={module_folder: []},
install_requires=required,
extras_require=extras_require,
test_suite="tests",
scripts=[],
author="Bradley Davis",
author_email="[email protected]",
url="https://github.com/WattsUp/PythonProjectTemplate",
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Development Status :: 5 - Production/Stable",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
python_requires=">=3.7",
# include_package_data=True, # Leave out cause wacky
zip_safe=False,
entry_points={"console_scripts": []})