-
-
Notifications
You must be signed in to change notification settings - Fork 282
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace setup.cfg with pyproject.toml
- Loading branch information
1 parent
8455648
commit 01c5447
Showing
3 changed files
with
57 additions
and
73 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 |
---|---|---|
|
@@ -4,6 +4,7 @@ | |
*.py[co] | ||
*~ | ||
*\.egg* | ||
dist | ||
docs/_build | ||
payments/version.py | ||
.coverage | ||
|
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,6 +1,59 @@ | ||
[build-system] | ||
requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"] | ||
|
||
[project] | ||
name = "django-payments" | ||
authors = [ | ||
{name = "Mirumee Software", email = "[email protected]"}, | ||
] | ||
description = "Universal payment handling for Django" | ||
readme = "README.rst" | ||
requires-python = ">=3.7" | ||
keywords = ["payments"] | ||
license = {text = "BSD"} | ||
classifiers = [ | ||
"Environment :: Web Environment", | ||
"Framework :: Django :: 2.2", | ||
"Framework :: Django :: 3.0", | ||
"Framework :: Django :: 3.1", | ||
"Framework :: Django :: 3.2", | ||
"Framework :: Django :: 4.0", | ||
"Framework :: Django :: 4.1", | ||
"Framework :: Django :: 4.2", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Framework :: Django", | ||
"Topic :: Software Development :: Libraries :: Application Frameworks", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
dependencies = [ | ||
"Django>=2.2", | ||
"requests>=1.2.0", | ||
"django-phonenumber-field[phonenumberslite]>=5.0.0", | ||
] | ||
dynamic = ["version"] | ||
|
||
[project.optional-dependencies] | ||
braintree = ["braintree>=3.14.0"] | ||
cybersource = ["suds-community>=0.6"] | ||
docs = ["sphinx_rtd_theme"] | ||
mercadopago = ["mercadopago>=2.0.0,<3.0.0"] | ||
sagepay = ["cryptography>=1.1.0"] | ||
sofort = ["xmltodict>=0.9.2"] | ||
stripe = ["stripe>=2.6.0"] | ||
|
||
[project.urls] | ||
homepage = "https://github.com/jazzband/django-payments" | ||
documentation = "https://django-payments.readthedocs.io/" | ||
changelog = "https://django-payments.readthedocs.io/en/latest/changelog.html" | ||
issues = "https://github.com/jazzband/django-payments/issues" | ||
|
||
[tool.coverage.report] | ||
exclude_lines = [ | ||
"if TYPE_CHECKING:", | ||
|
@@ -69,3 +122,6 @@ required-imports = ["from __future__ import annotations"] | |
[tool.setuptools_scm] | ||
write_to = "payments/version.py" | ||
version_scheme = "post-release" | ||
|
||
[tool.setuptools.packages.find] | ||
include = ["payments*"] |