-
Notifications
You must be signed in to change notification settings - Fork 98
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.py
into pyproject.toml
.
Moved all the "requirements*.txt" into `pyproject.toml` under extras.
- Loading branch information
Showing
5 changed files
with
63 additions
and
69 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,64 @@ | ||
[build-system] | ||
requires = ["setuptools", "wheel"] | ||
requires = ["setuptools>=61.2"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "PGPy" | ||
version = "0.6.0-dev" | ||
authors = [{name = "Michael Greene", email = "[email protected]"}] | ||
maintainers = [{name = "Security Innovation", email = "[email protected]"}] | ||
license = {text = "BSD-3-Clause"} | ||
description = "Pretty Good Privacy for Python" | ||
readme = "README.rst" | ||
keywords = ["OpenPGP", "PGP", "Pretty Good Privacy", "GPG", "GnuPG", "openpgp", "pgp", "gnupg", "gpg", "encryption", "signature"] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
"Operating System :: POSIX :: Linux", | ||
"Operating System :: MacOS :: MacOS X", | ||
"Operating System :: Microsoft :: Windows", | ||
"Intended Audience :: Developers", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.5", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Topic :: Security", | ||
"Topic :: Security :: Cryptography", | ||
"Topic :: Software Development :: Libraries", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"License :: OSI Approved :: BSD License", | ||
] | ||
requires-python = ">=3.5" | ||
dependencies = [ | ||
"cryptography>=2.6,<38", # TODO: fix support for cryptography >= 38.0.0 (https://github.com/SecurityInnovation/PGPy/issues/402) | ||
"pyasn1", | ||
"six>=1.9.0", | ||
] | ||
|
||
[project.optional-dependencies] | ||
docs-build = ["sphinx", "sphinx-better-theme"] | ||
test = [ | ||
"pytest", | ||
"pytest-cov", | ||
"pytest-order @ git+https://github.com/SecurityInnovation/pytest-order.git@07ceb36233fb083275f34d5c8abbd3e35cd00158#egg=pytest-order", # We need a patched version of pytest-order to run on 3.5 and handle parameterized tests, | ||
"flake8", | ||
"pep8-naming", | ||
# "gpg", # is not here on purpose currently | ||
] | ||
|
||
[project.urls] | ||
Homepage = "https://github.com/SecurityInnovation/PGPy" | ||
Documentation = "https://pgpy.readthedocs.io/en/latest/" | ||
"Bug Tracker" = "https://github.com/SecurityInnovation/PGPy/issues" | ||
|
||
[tool.setuptools] | ||
zip-safe = true | ||
include-package-data = false | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["pgpy", "pgpy.*"] | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,57 +1,4 @@ | ||
[metadata] | ||
name = PGPy | ||
version = 0.6.0-dev | ||
author = Michael Greene | ||
author_email = [email protected] | ||
maintainer = Security Innovation | ||
maintainer_email = [email protected] | ||
license = BSD-3-Clause | ||
description = Pretty Good Privacy for Python | ||
keywords = OpenPGP, PGP, Pretty Good Privacy, GPG, GnuPG, openpgp, pgp, gnupg, gpg, encryption, signature | ||
url = https://github.com/SecurityInnovation/PGPy | ||
project_urls = | ||
Documentation = https://pgpy.readthedocs.io/en/latest/ | ||
Bug Tracker = https://github.com/SecurityInnovation/PGPy/issues | ||
long_description = file: README.rst | ||
long_description_content_type = text/x-rst | ||
classifiers = | ||
Development Status :: 4 - Beta | ||
Operating System :: POSIX :: Linux | ||
Operating System :: MacOS :: MacOS X | ||
Operating System :: Microsoft :: Windows | ||
Intended Audience :: Developers | ||
Programming Language :: Python | ||
Programming Language :: Python :: 3 | ||
Programming Language :: Python :: 3 :: Only | ||
Programming Language :: Python :: 3.9 | ||
Programming Language :: Python :: 3.8 | ||
Programming Language :: Python :: 3.7 | ||
Programming Language :: Python :: 3.6 | ||
Programming Language :: Python :: 3.5 | ||
Programming Language :: Python :: Implementation :: CPython | ||
Topic :: Security | ||
Topic :: Security :: Cryptography | ||
Topic :: Software Development :: Libraries | ||
Topic :: Software Development :: Libraries :: Python Modules | ||
License :: OSI Approved :: BSD License | ||
|
||
[options] | ||
packages = | ||
pgpy | ||
pgpy.packet | ||
pgpy.packet.subpackets | ||
# TODO: fix support for cryptography >= 38.0.0 (https://github.com/SecurityInnovation/PGPy/issues/402) | ||
install_requires = | ||
cryptography>=2.6,<38 | ||
pyasn1 | ||
six>=1.9.0 | ||
python_requires = >=3.5 | ||
|
||
# doc_requires = | ||
# sphinx | ||
# sphinx-better-theme | ||
|
||
|
||
# https://github.com/sphinx-doc/sphinx/issues/9473 | ||
[build_sphinx] | ||
source-dir = docs/source | ||
build-dir = docs/build | ||
|