-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
71 lines (65 loc) · 1.7 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
70
71
"""A library of components for batou.
"""
import glob
import os.path
from setuptools import find_packages, setup
def project_path(*names):
return os.path.join(*names)
setup(
name="batou_ext",
version="2.4.24.dev0",
install_requires=[
"batou >= 2.3b4",
"pyaml",
"setuptools",
"six",
"InquirerPy",
],
extras_require={
"test": [
"boto3",
"passlib>=1.7",
"pytest",
"pytest-mock",
],
"version-select": ["InquirerPy"],
"s3-bootstrap": ["boto3", "InquirerPy"],
},
author="Flying Circus <[email protected]>",
author_email="[email protected]",
license="BSD (2-clause)",
url="https://github.com/flyingcircusio/batou_ext",
keywords="deployment",
classifiers="""\
License :: OSI Approved :: BSD License
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
"""[
:-1
].split(
"\n"
),
description=__doc__.strip(),
long_description="\n\n".join(
open(project_path(name)).read()
for name in (
"README.md",
"CHANGES.md",
)
),
long_description_content_type="text/markdown",
packages=find_packages("src"),
package_dir={"": "src"},
include_package_data=True,
data_files=[("", glob.glob(project_path("*.txt")))],
entry_points=dict(
console_scripts=[
"jenkins = batou_ext.jenkins:main",
"fcio = batou_ext.fcio:main",
"versions = batou_ext.versions:main",
"s3_bootstrap = batou_ext.s3_bootstrap:main [s3-bootstrap]",
]
),
zip_safe=False,
)