-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
131 lines (116 loc) · 3.59 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import io
import os
import re
import sys
from setuptools import setup, find_packages
try:
from semantic_release import setup_hook
setup_hook(sys.argv)
except ImportError:
pass
here = os.path.abspath(os.path.dirname(__file__))
with io.open(os.path.join(here, 'README.md'), encoding='utf-8') as f:
readme = f.read()
with io.open(os.path.join(here, 'CHANGELOG.md'), encoding='utf-8') as f:
history = f.read()
project_dir = os.path.dirname(os.path.realpath(__file__))
install_requires = [
"colorama",
"colorlog",
"verboselogs",
"netifaces",
"requests",
"PyYAML",
"marshmallow",
"dotty-dict",
"deepmerge",
"diskcache",
"python-slugify",
"dictdiffer",
"Jinja2",
"braceexpand",
"toposort",
"cookiecutter",
"jsonnet-binary",
"zgitignore",
"cached-property",
"dockerfile-parse",
"cfssl>=0.0.3b243",
"cryptography",
"watchdog",
"gitpython",
"chmod-monkey>=1.1.1",
"paramiko",
"wcmatch",
"marshmallow-union",
"progress",
"ordered-set",
"patch",
"semver",
"distro",
"python-on-whales"
]
dev_requires = [
"python-semantic-release<8",
"pyinstaller",
"commitizen",
"pre-commit",
"tox",
"astroid",
"pylint",
"docker[tls]",
"pytest",
"coverage",
"waiting",
"pytest-mock",
"pytest-cov",
"pytest-benchmark",
"pytest-profiling",
"pex"
]
package_data = []
entry_points = {
'console_scripts': [
'ddb = ddb.__main__:console_script'
],
"pytest11": [
"docker_compose=pytest_docker_compose:plugin",
],
}
with io.open('ddb/__version__.py', 'r') as f:
version = re.search(r'^__version__\st*=\s*[\'"]([^\'"]*)[\'"]$', f.read(), re.MULTILINE).group(1)
args = dict(name='docker-devbox-ddb',
version=version,
description='ddb - Erase environment differences, make developers happy !',
long_description=readme + '\n' * 2 + history,
long_description_content_type='text/markdown',
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=['Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords='docker docker-compose development environment devops templates jsonnet jinja watch',
author='Rémi Alvergnat',
author_email='remi.alvergnat@gfi.world',
url='https://github.com/inetum-orleans/docker-devbox-ddb',
download_url='https://pypi.python.org/packages/source/g/docker-devbox-ddb/docker-devbox-ddb-%s.tar.gz' % version,
license='MIT',
packages=find_packages(),
include_package_data=True,
install_requires=install_requires,
entry_points=entry_points,
zip_safe=True,
extras_require={
'dev': dev_requires
})
setup(**args)