generated from Justintime50/python-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
58 lines (54 loc) · 1.31 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
56
57
58
import setuptools
with open('README.md', 'r') as fh:
long_description = fh.read()
REQUIREMENTS = [
# Add your list of production dependencies here, eg:
# 'requests == 2.*',
]
DEV_REQUIREMENTS = [
'black == 22.*',
'build == 0.7.*',
'coveralls == 3.*',
'flake8 == 4.*',
'isort == 5.*',
'mypy == 0.942',
'pytest == 7.*',
'pytest-cov == 3.*',
'twine == 4.*',
]
setuptools.setup(
name='PROJECT_NAME_URL',
version='0.1.0',
description='Your project description here',
long_description=long_description,
long_description_content_type="text/markdown",
url='http://github.com/USERNAME/PROJECT_NAME_URL',
author='USERNAME',
license='MIT',
packages=setuptools.find_packages(
exclude=[
'examples',
'test',
]
),
package_data={
'PROJECT_NAME_URL': [
'py.typed',
]
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=REQUIREMENTS,
extras_require={
'dev': DEV_REQUIREMENTS,
},
entry_points={
'console_scripts': [
'PROJECT_NAME_URL=project_name.my_module:main',
]
},
python_requires='>=3.7, <4',
)