-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (28 loc) · 1.01 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
"""
Setup script for project.
To install as a standalone project run::
pipenv install -e .
This installs project in editable mode using this file .
To install as a package, particularly as a submodule inside another project::
pipenv install -e path-to-submodule
This installs the project in editable mode as a package
"""
import pathlib
from setuptools import find_packages, setup
HERE = pathlib.Path(__file__).parent
VERSION = "0.1.0"
PACKAGE_NAME = "python-template"
AUTHOR = "Tiger Yang"
AUTHOR_EMAIL = "tigeryyang@gmail.com"
DESCRIPTION = "python-template"
LONG_DESCRIPTION = (HERE / "README.md").read_text()
LONG_DESC_TYPE = "text/markdown"
# use `setuptools.find_packages` to discover all modules and packages from the project
setup(name=PACKAGE_NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESC_TYPE,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
packages=find_packages(exclude=['docs', 'tests']))