1- # We should probably migrate most of setup.cfg here
1+ [build-system ]
2+ requires = [" setuptools" , " setuptools-scm" , " wheel" ]
3+ build-backend = " setuptools.build_meta"
4+
5+ [project ]
6+ name = " geoip2"
7+ version = " 4.7.0"
8+ description = " MaxMind GeoIP2 API"
9+ authors = [
10+ {name = " Gregory Oschwald" , email = " goschwald@maxmind.com" },
11+ ]
12+ dependencies = [
13+ " maxminddb" ,
14+ " aiohttp>=3.6.2,<4.0.0" ,
15+ " maxminddb>=2.3.0,<3.0.0" ,
16+ " requests>=2.24.0,<3.0.0" ,
17+ " setuptools>=60.0.0" ,
18+ ]
19+ requires-python = " >=3.7"
20+ readme = " README.rst"
21+ license = {text = " Apache License, Version 2.0" }
22+ classifiers = [
23+ " Development Status :: 5 - Production/Stable" ,
24+ " Environment :: Web Environment" ,
25+ " Intended Audience :: Developers" ,
26+ " Intended Audience :: System Administrators" ,
27+ " License :: OSI Approved :: Apache Software License" ,
28+ " Programming Language :: Python" ,
29+ " Programming Language :: Python :: 3" ,
30+ " Programming Language :: Python :: 3.7" ,
31+ " Programming Language :: Python :: 3.8" ,
32+ " Programming Language :: Python :: 3.9" ,
33+ " Programming Language :: Python :: 3.10" ,
34+ " Programming Language :: Python :: 3.11" ,
35+ " Programming Language :: Python :: 3.12" ,
36+ " Topic :: Internet" ,
37+ " Topic :: Internet :: Proxy Servers" ,
38+ ]
39+
40+ [project .optional-dependencies ]
41+ test = [
42+ " mocket>=3.11.1" ,
43+ ]
44+
45+ [tool .setuptools .package-data ]
46+ geoip2 = [" py.typed" ]
47+
48+ [project .urls ]
49+ Homepage = " https://www.maxmind.com/"
50+ Documentation = " https://geoip2.readthedocs.org/"
51+ "Source Code" = " https://github.com/maxmind/GeoIP2-python"
52+ "Issue Tracker" = " https://github.com/maxmind/GeoIP2-python/issues"
253
354[tool .black ]
455# src is showing up in our GitHub linting builds. It seems to
556# contain deps.
6- extend-exclude = ' ^/src/'
57+ extend-exclude = ' ^/src/'
0 commit comments