|
1 | 1 | #!/usr/bin/env python |
2 | 2 |
|
3 | | -import codecs |
4 | | -import os |
5 | | -import sys |
6 | | - |
7 | 3 | import geoip2 |
8 | 4 |
|
9 | 5 | from setuptools import setup |
10 | 6 |
|
11 | | -packages = ["geoip2"] |
12 | | - |
13 | | -requirements = [i.strip() for i in open("requirements.txt").readlines()] |
14 | | - |
15 | 7 | setup( |
16 | | - name="geoip2", |
17 | 8 | version=geoip2.__version__, |
18 | | - description="MaxMind GeoIP2 API", |
19 | | - long_description=codecs.open("README.rst", "r", "utf-8").read(), |
20 | | - author="Gregory Oschwald", |
21 | | - author_email="goschwald@maxmind.com", |
22 | | - url="http://www.maxmind.com/", |
23 | | - packages=["geoip2"], |
24 | | - package_data={"": ["LICENSE"], "geoip2": ["py.typed"]}, |
25 | | - package_dir={"geoip2": "geoip2"}, |
26 | | - include_package_data=True, |
27 | | - python_requires=">=3.7", |
28 | | - install_requires=requirements, |
29 | | - tests_require=["mocket>=3.11.0"], |
30 | | - test_suite="tests", |
31 | | - license=geoip2.__license__, |
32 | | - classifiers=[ |
33 | | - "Development Status :: 5 - Production/Stable", |
34 | | - "Environment :: Web Environment", |
35 | | - "Intended Audience :: Developers", |
36 | | - "Intended Audience :: System Administrators", |
37 | | - "License :: OSI Approved :: Apache Software License", |
38 | | - "Programming Language :: Python :: 3", |
39 | | - "Programming Language :: Python :: 3.7", |
40 | | - "Programming Language :: Python :: 3.8", |
41 | | - "Programming Language :: Python :: 3.9", |
42 | | - "Programming Language :: Python :: 3.10", |
43 | | - "Programming Language :: Python", |
44 | | - "Topic :: Internet :: Proxy Servers", |
45 | | - "Topic :: Internet", |
46 | | - ], |
47 | | - project_urls={ |
48 | | - "Documentation": "https://geoip2.readthedocs.org/", |
49 | | - "Source Code": "https://github.com/maxmind/GeoIP2-python", |
50 | | - "Issue Tracker": "https://github.com/maxmind/GeoIP2-python/issues", |
51 | | - }, |
52 | 9 | ) |
0 commit comments