-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/main' into ruff-i
- Loading branch information
Showing
9 changed files
with
94 additions
and
101 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,66 @@ | ||
[build-system] | ||
requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"] | ||
requires = ["hatchling", "hatch-vcs"] | ||
build-backend = "hatchling.build" | ||
|
||
[tool.setuptools_scm] | ||
write_to = 'docker/_version.py' | ||
[project] | ||
name = "docker" | ||
dynamic = ["version"] | ||
description = "A Python library for the Docker Engine API." | ||
readme = "README.md" | ||
license = "Apache-2.0" | ||
requires-python = ">=3.8" | ||
maintainers = [ | ||
{ name = "Docker Inc.", email = "[email protected]" }, | ||
] | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Other Environment", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Topic :: Software Development", | ||
"Topic :: Utilities", | ||
] | ||
|
||
dependencies = [ | ||
"requests >= 2.26.0", | ||
"urllib3 >= 1.26.0", | ||
"pywin32>=304; sys_platform == \"win32\"", | ||
] | ||
|
||
[project.optional-dependencies] | ||
ssh = [ | ||
"paramiko>=2.4.3", | ||
] | ||
tls = [] # kept for backwards compatibility | ||
websockets = [ | ||
"websocket-client >= 1.3.0", | ||
] | ||
|
||
[project.urls] | ||
Changelog = "https://docker-py.readthedocs.io/en/stable/change-log.html" | ||
Documentation = "https://docker-py.readthedocs.io" | ||
Homepage = "https://github.com/docker/docker-py" | ||
Source = "https://github.com/docker/docker-py" | ||
Tracker = "https://github.com/docker/docker-py/issues" | ||
|
||
[tool.hatch.version] | ||
source = "vcs" | ||
|
||
[tool.hatch.build.hooks.vcs] | ||
version-file = "docker/_version.py" | ||
|
||
[tool.hatch.build.targets.sdist] | ||
include = [ | ||
"/docker", | ||
] | ||
|
||
[tool.ruff] | ||
target-version = "py38" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters