forked from maxmind/GeoIP2-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (43 loc) · 1.49 KB
/
setup.py
File metadata and controls
49 lines (43 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#!/usr/bin/env python
import codecs
import os
import sys
import geoip2
from setuptools import setup
packages = ['geoip2']
requirements = [i.strip() for i in open("requirements.txt").readlines()]
setup(
name='geoip2',
version=geoip2.__version__,
description='MaxMind GeoIP2 API',
long_description=codecs.open('README.rst', 'r', 'utf-8').read(),
author='Gregory Oschwald',
author_email='goschwald@maxmind.com',
url='http://www.maxmind.com/',
packages=['geoip2'],
package_data={'': ['LICENSE']},
package_dir={'geoip2': 'geoip2'},
include_package_data=True,
install_requires=requirements,
extras_require={
':python_version=="2.6" or python_version=="2.7"': ['ipaddress']
},
tests_require=['requests_mock>=0.5'],
test_suite="tests",
license=geoip2.__license__,
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 :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python',
'Topic :: Internet :: Proxy Servers',
'Topic :: Internet',
], )