setup.py 1.63 KB
Newer Older
1
#!/usr/bin/env python
2
# -*- coding: utf-8 -*-
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
"""
Setup file for pygeoip package.

@author: Jennifer Ennis <zaylea at gmail dot com>

@license:
Copyright(C) 2004 MaxMind LLC

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/lgpl.txt>.
"""

try:
    from setuptools import setup
except ImportError:
    from distutils.core import setup

MrTux committed
30
from pygeoip import __version__
31 32

setup(name='pygeoip',
MrTux committed
33
      version=__version__,
34 35 36
      description='Pure Python GeoIP API',
      author='Jennifer Ennis',
      author_email='zaylea@gmail.com',
37 38
      maintainer='William Tisäter',
      maintainer_email='william@defunct.cc',
39 40
      url='https://github.com/appliedsec/pygeoip',
      classifiers=['Programming Language :: Python',
41 42 43
                   'Programming Language :: Python :: 2.6',
                   'Programming Language :: Python :: 2.7',
                   'Programming Language :: Python :: 3',
44 45
                   'Programming Language :: Python :: 3.2',
                   'Programming Language :: Python :: 3.3'],
46
      packages=['pygeoip'],
47
      license='LGPLv3+',
48
      keywords='geoip')