-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move project metadata to pyproject.toml
- Loading branch information
Showing
3 changed files
with
41 additions
and
30 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 |
---|---|---|
@@ -1,6 +1,44 @@ | ||
# We should probably migrate most of setup.cfg here | ||
[build-system] | ||
requires = ["setuptools", "setuptools-scm"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "maxminddb" | ||
version = "2.4.0" | ||
description = "Reader for the MaxMind DB format" | ||
authors = [ | ||
{name = "Gregory Oschwald", email = "[email protected]"}, | ||
] | ||
dependencies = [ | ||
"setuptools>=68.2.2", | ||
] | ||
requires-python = ">=3.8" | ||
readme = "README.rst" | ||
license = {text = "Apache License, Version 2.0"} | ||
classifiers = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Environment :: Web Environment", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: System Administrators", | ||
"License :: OSI Approved :: Apache Software License", | ||
"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 :: Internet", | ||
"Topic :: Internet :: Proxy Servers", | ||
] | ||
|
||
[project.urls] | ||
Homepage = "http://www.maxmind.com/" | ||
Documentation = "https://maxminddb.readthedocs.org/" | ||
"Source Code" = "https://github.com/maxmind/MaxMind-DB-Reader-python" | ||
"Issue Tracker" = "https://github.com/maxmind/MaxMind-DB-Reader-python/issues" | ||
|
||
[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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,34 +3,6 @@ extend-ignore = E203 | |
# black uses 88 : ¯\_(ツ)_/¯ | ||
max-line-length = 88 | ||
|
||
[metadata] | ||
name = maxminddb | ||
author = Gregory Oschwald | ||
author_email = [email protected] | ||
license = Apache License, Version 2.0 | ||
description = Reader for the MaxMind DB format | ||
url = http://www.maxmind.com/ | ||
long_description = file: README.rst | ||
classifiers = | ||
Development Status :: 5 - Production/Stable | ||
Environment :: Web Environment | ||
Intended Audience :: Developers | ||
Intended Audience :: System Administrators | ||
License :: OSI Approved :: Apache Software License | ||
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 | ||
Programming Language :: Python | ||
Topic :: Internet :: Proxy Servers | ||
Topic :: Internet | ||
project_urls = | ||
Documentation = https://maxminddb.readthedocs.org/ | ||
Source Code = https://github.com/maxmind/MaxMind-DB-Reader-python | ||
Issue Tracker = https://github.com/maxmind/MaxMind-DB-Reader-python/issues | ||
|
||
[options] | ||
package_dir = | ||
maxminddb = maxminddb | ||
|