Home
About
Blog
Products
Forum
Support
Contact
Sunbelt Computer Software
PL/B Language Development and Support
Home
About
Blog
Products
Forum
Support
Contact
compose/setup.py at master · drake-mer/compose · GitHub
Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
drake-mer
compose
Repository navigation
Code
Pull requests
Actions
Projects
Security and quality
Insights
More
items
Files
Expand file tree
master
Breadcrumbs
compose
/
setup.py
Copy path
Blame
More file actions
Blame
More file actions
Latest commit
History
History
History
117 lines (100 loc) · 3.7 KB
master
Breadcrumbs
compose
/
setup.py
Copy path
Top
File metadata and controls
Code
Blame
117 lines (100 loc) · 3.7 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from
__future__
import
absolute_import
from
__future__
import
print_function
from
__future__
import
unicode_literals
import
codecs
import
os
import
re
import
sys
import
pkg_resources
from
setuptools
import
find_packages
from
setuptools
import
setup
def
read
(
*
parts
):
path
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
*
parts
)
with
codecs
.
open
(
path
,
encoding
=
'utf-8'
)
as
fobj
:
return
fobj
.
read
()
def
find_version
(
*
file_paths
):
version_file
=
read
(
*
file_paths
)
version_match
=
re
.
search
(
r"^__version__ = ['\"]([^'\"]*)['\"]"
,
version_file
,
re
.
M
)
if
version_match
:
return
version_match
.
group
(
1
)
raise
RuntimeError
(
"Unable to find version string."
)
install_requires
=
[
'cached-property >= 1.2.0, < 2'
,
'docopt >= 0.6.1, < 1'
,
'PyYAML >= 3.10, < 6'
,
'requests >= 2.20.0, < 3'
,
'texttable >= 0.9.0, < 2'
,
'websocket-client >= 0.32.0, < 1'
,
'docker[ssh] >= 3.7.0, < 5'
,
'dockerpty >= 0.4.1, < 1'
,
'six >= 1.3.0, < 2'
,
'jsonschema >= 2.5.1, < 4'
,
'python-dotenv >= 0.10.5, < 1'
,
]
tests_require
=
[
'ddt >= 1.2.2, < 2'
,
'pytest < 6'
,
]
if
sys
.
version_info
[:
2
]
<
(
3
,
4
):
tests_require
.
append
(
'mock >= 1.0.1, < 4'
)
extras_require
=
{
':python_version < "3.2"'
: [
'subprocess32 >= 3.5.4, < 4'
],
':python_version < "3.4"'
: [
'enum34 >= 1.0.4, < 2'
],
':python_version < "3.5"'
: [
'backports.ssl_match_hostname >= 3.5, < 4'
],
':python_version < "3.3"'
: [
'backports.shutil_get_terminal_size == 1.0.0'
,
'ipaddress >= 1.0.16, < 2'
],
':sys_platform == "win32"'
: [
'colorama >= 0.4, < 1'
],
'socks'
: [
'PySocks >= 1.5.6, != 1.5.7, < 2'
],
'tests'
:
tests_require
,
}
try
:
if
'bdist_wheel'
not
in
sys
.
argv
:
for
key
,
value
in
extras_require
.
items
():
if
key
.
startswith
(
':'
)
and
pkg_resources
.
evaluate_marker
(
key
[
1
:]):
install_requires
.
extend
(
value
)
except
Exception
as
e
:
print
(
"Failed to compute platform dependencies: {}. "
.
format
(
e
)
+
"All dependencies will be installed as a result."
,
file
=
sys
.
stderr
)
for
key
,
value
in
extras_require
.
items
():
if
key
.
startswith
(
':'
):
install_requires
.
extend
(
value
)
setup
(
name
=
'docker-compose'
,
version
=
find_version
(
"compose"
,
"__init__.py"
),
description
=
'Multi-container orchestration for Docker'
,
long_description
=
read
(
'README.md'
),
long_description_content_type
=
'text/markdown'
,
url
=
'https://www.docker.com/'
,
project_urls
=
{
'Documentation'
:
'https://docs.docker.com/compose/overview'
,
'Changelog'
:
'https://github.com/docker/compose/blob/release/CHANGELOG.md'
,
'Source'
:
'https://github.com/docker/compose'
,
'Tracker'
:
'https://github.com/docker/compose/issues'
,
},
author
=
'Docker, Inc.'
,
license
=
'Apache License 2.0'
,
packages
=
find_packages
(
exclude
=
[
'tests.*'
,
'tests'
]),
include_package_data
=
True
,
install_requires
=
install_requires
,
extras_require
=
extras_require
,
tests_require
=
tests_require
,
python_requires
=
'>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*'
,
entry_points
=
{
'console_scripts'
: [
'docker-compose=compose.cli.main:main'
],
},
classifiers
=
[
'Development Status :: 5 - Production/Stable'
,
'Environment :: Console'
,
'Intended Audience :: Developers'
,
'License :: OSI Approved :: Apache Software License'
,
'Programming Language :: Python :: 2'
,
'Programming Language :: Python :: 2.7'
,
'Programming Language :: Python :: 3'
,
'Programming Language :: Python :: 3.4'
,
'Programming Language :: Python :: 3.6'
,
'Programming Language :: Python :: 3.7'
,
],
)
You can’t perform that action at this time.