forked from maxmind/MaxMind-DB-Reader-python
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
45 lines (41 loc) · 1.47 KB
/
setup.py
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
# This import is apparently needed for Nose on Red Hat's Python
import multiprocessing
try:
from setuptools import setup, Extension
except ImportError:
from distutils.core import setup, Extension
module = Extension(
'maxminddb',
libraries=['maxminddb'],
sources=['maxminddb.c'],
extra_compile_args=[
'-Qunused-arguments','-Wall', '-Werror', '-Wextra', '-std=c99', '-pedantic'],
)
setup(
name='maxminddb',
version='0.2.0',
description='Python extension for reading the MaxMind DB format',
ext_modules=[module],
long_description=open('README.rst').read(),
url='http://www.maxmind.com/',
bugtrack_url='https://github.com/maxmind/MaxMind-DB-Reader-python/issues',
package_data={'': ['LICENSE']},
include_package_data=True,
tests_require=['nose'],
test_suite='nose.collector',
license=open('LICENSE').read(),
classifiers=(
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'License :: OSI Approved :: GNU Lesser General Public License v2 or later (LGPLv2+)',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python',
'Topic :: Internet :: Proxy Servers',
'Topic :: Internet',
),
)