-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
25 lines (21 loc) · 727 Bytes
/
setup.py
File metadata and controls
25 lines (21 loc) · 727 Bytes
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
import os
from setuptools import find_packages, setup
# We follow Semantic Versioning (https://semver.org/)
_MAJOR_VERSION = "0"
_MINOR_VERSION = "0"
_PATCH_VERSION = "1"
with open(os.path.join(os.path.dirname(__file__), "requirements.txt")) as fp:
install_requires = fp.read().split("\n")
setup(
name="python_pkg", # TODO
description="python package template", # TODO
url="https://github.com/jackd/python-pkg", # TODO
author="Dominic Jack",
author_email="thedomjack@gmail.com",
license="Apache 2.0",
packages=find_packages(),
install_requires=install_requires,
zip_safe=True,
python_requires=">=3.6",
version=".".join([_MAJOR_VERSION, _MINOR_VERSION, _PATCH_VERSION]),
)