-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (27 loc) · 995 Bytes
/
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
from pathlib import Path
from setuptools import find_packages, setup
HERE = Path(__file__).parent
README = HERE.joinpath("README.md").read_text()
REQUIREMENTS = HERE.joinpath("requirements", "requirements.in").read_text().split()
setup(
name="pypk",
author="Miller Wilt",
author_email="miller@pyriteai.com",
description="An opinionated Python package template generator",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/PyriteAI/pypk",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
],
packages=find_packages("src"),
package_dir={"": "src"},
use_scm_version={"write_to": "src/pypk/version.py"},
entry_points={"console_scripts": ["pypk=pypk.main:app"]},
setup_requires=["setuptools_scm"],
install_requires=REQUIREMENTS,
python_requires=">=3.6.0",
)