-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved the metadata from
setup.cfg
into PEP 621
-compliant `pyproje…
…ct.toml`. Dropped wheel building support on unsupported versions of `python`, because `setuptools` available for this versions doesn't support `PEP 621`.
- Loading branch information
Showing
5 changed files
with
56 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,38 @@ | |
requires = ["setuptools>=61.2.0", "wheel", "setuptools_scm[toml]>=3.4.3"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "adb_shell" | ||
authors = [{name = "Jeff Irion", email = "[email protected]"}] | ||
description = "A Python implementation of ADB with shell and FileSync functionality." | ||
license = {text = "Apache-2.0"} | ||
keywords = ["adb", "android"] | ||
readme = "README.rst" | ||
classifiers = [ | ||
"Operating System :: OS Independent", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 2", | ||
] | ||
urls = {Homepage = "https://github.com/JeffLIrion/adb_shell"} | ||
dependencies = ["cryptography", "pyasn1", "rsa"] | ||
dynamic = ["version"] | ||
|
||
[project.optional-dependencies] | ||
usb = ["libusb1>=1.0.16"] | ||
async = ["aiofiles>=0.4.0"] | ||
testing = ["pycryptodome", "libusb1>=1.0.16"] | ||
|
||
[tool.setuptools] | ||
packages = [ | ||
"adb_shell", | ||
"adb_shell.auth", | ||
"adb_shell.transport", | ||
] | ||
|
||
[tool.setuptools_scm] | ||
write_to = "adb_shell/version.py" | ||
write_to_template = "'''Generated by setuptools_scm'''\n__version__ = '{version}'\n" | ||
|
||
[tool.distutils.bdist_wheel] | ||
universal = 1 |
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