-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
52 lines (47 loc) · 1.45 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
"""
This file contains the current state of packaging in Python using
Distribution Utilities (Distutils) and its extension from the end
user'point-of-view.
Documentation:
https://the-hitchhikers-guide-to-packaging.readthedocs.io/en/latest/introduction.html
"""
import pathlib
from setuptools import setup
from setuptools import find_packages
PACKAGE = "<package_name>"
THIS_DIR = pathlib.Path(__file__).parent
LONG_DESCRIPTION = (THIS_DIR / "README.md").read_text()
REQUIREMENTS = (THIS_DIR / "requirements.txt").read_text()
setup(
name=PACKAGE,
version='0.1.0-dev',
description="<brief description here>",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
author="<list of authors>",
author_email="<correspondence email>",
license="MIT",
url="<project url>",
zip_safe=False,
project_urls={
"Source": "<github_address>",
"Documentation": "<documentation_page>"
},
entry_points={
"console_scripts": [
"<package_name> = <package_name>.run:main"
]
},
package_dir={"": "src"},
packages=find_packages("src"),
install_requires=REQUIREMENTS,
classifiers=[
"Operating System :: Unix",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Topic :: <topic>/<subtopic>"
],
setup_requires=["wheel"],
python_requires='>=3.7'
)