forked from flyingcircusio/batou
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
69 lines (62 loc) · 2.14 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# This should be only one line. If it must be multi-line, indent the second
# line onwards to keep the PKG-INFO file format intact.
"""A utility for automating multi-host, multi-environment software builds \
and deployments.
"""
import glob
import os.path
from setuptools import find_packages, setup
def project_path(*names):
return os.path.join(*names)
version = open(project_path("src/batou/version.txt")).read().strip()
setup(
name="batou",
version=version,
install_requires=[
"ConfigUpdater",
"Jinja2",
"requests",
# ConfigUpdater does not manage its minimum requirements correctly.
"setuptools>=38.3",
"execnet",
"pyyaml",
"py",],
extras_require={
"test": ["pytest", "pytest-timeout", "pytest-coverage", "mock"]},
entry_points="""
[console_scripts]
batou = batou.main:main
[zc.buildout]
requirements = batou.buildout:Requirements
[zest.releaser.prereleaser.after]
update_requirements = batou.release:update_requirements
[zest.releaser.postreleaser.after]
update_requirements = batou.release:update_requirements
""",
author="Christian Theune",
author_email="[email protected]",
license="BSD (2-clause)",
url="https://batou.readthedocs.io/en/latest/",
keywords="deployment",
classifiers="""\
License :: OSI Approved :: BSD License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3 :: Only
"""[:-1].split("\n"),
description=__doc__.strip(),
long_description=open(project_path("README.md")).read(),
long_description_content_type="text/markdown",
packages=find_packages("src"),
package_dir={"": "src"},
include_package_data=True,
data_files=[
("", glob.glob(project_path("*.txt")) +
glob.glob(project_path("*.in")) + glob.glob(project_path("*.md")))],
zip_safe=False,
test_suite="batou.tests",
python_requires=">=3.6")