-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
41 lines (35 loc) · 1.04 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
from os.path import abspath, dirname, join
from setuptools import find_packages, setup
TEST_DEPS = ["coverage", "docker", "pytest", "pytest-cov"]
DOCS_DEPS = [
"sphinx",
"sphinx-rtd-theme",
"sphinx-autoapi",
"recommonmark",
"sphinxcontrib-runcmd",
]
CHECK_DEPS = ["isort", "flake8", "flake8-quotes", "pep8-naming", "black", "mypy"]
REQUIREMENTS = ["awscli", "boto3"]
EXTRAS = {
"test": TEST_DEPS,
"docs": DOCS_DEPS,
"check": CHECK_DEPS,
"dev": TEST_DEPS + CHECK_DEPS + DOCS_DEPS,
}
# Read in the version
with open(join(dirname(abspath(__file__)), "VERSION")) as version_file:
version = version_file.read().strip()
setup(
name="plz",
version=version,
description="Python Lambda Zipper",
author="bcj",
url="https://gitlab.invenia.ca/invenia/plz",
packages=find_packages(exclude=["tests"]),
install_requires=REQUIREMENTS,
tests_require=TEST_DEPS,
extras_require=EXTRAS,
entry_points={"console_scripts": ["plz = plz.cli:main"]},
zip_safe=False,
include_package_data=True,
)