-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #126 from maxmind/greg/modernize-packaging
Switch to pyproject.toml for project info
- Loading branch information
Showing
5 changed files
with
56 additions
and
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,57 @@ | ||
# We should probably migrate most of setup.cfg here | ||
[project] | ||
name = "minfraud" | ||
version = "2.8.0" | ||
description = "MaxMind minFraud Score, Insights, Factors and Report Transactions API" | ||
authors = [ | ||
{name = "Gregory Oschwald", email = "goschwald@maxmind.com"}, | ||
] | ||
dependencies = [ | ||
"setuptools>=60.0.0", | ||
"aiohttp>=3.6.2,<4.0.0", | ||
"email_validator>=1.1.1,<3.0.0", | ||
"geoip2>=4.7.0,<5.0.0", | ||
"requests>=2.24.0,<3.0.0", | ||
"voluptuous", | ||
] | ||
requires-python = ">=3.7" | ||
readme = "README.rst" | ||
license = {text = "Apache License 2.0"} | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Web Environment", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Topic :: Internet", | ||
"Topic :: Internet :: Proxy Servers", | ||
"Topic :: Internet :: WWW/HTTP", | ||
] | ||
|
||
[project.optional-dependencies] | ||
test = [ | ||
"mocket>=3.11.1", | ||
] | ||
|
||
[tool.setuptools.package-data] | ||
minfraud = ["py.typed"] | ||
|
||
[project.urls] | ||
Homepage = "https://www.maxmind.com/" | ||
Documentation = "https://minfraud.readthedocs.org/" | ||
"Source Code" = "https://github.com/maxmind/minfraud-api-python" | ||
"Issue Tracker" = "https://github.com/maxmind/minfraud-api-python/issues" | ||
|
||
[build-system] | ||
requires = ["setuptools", "setuptools-scm", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[tool.black] | ||
# src is showing up in our GitHub linting builds. It seems to | ||
# contain deps. | ||
extend-exclude = '^/src/' | ||
extend-exclude = '^/src/' |
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