File: setup.py

package info (click to toggle)
python-geoip 1.2.1-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 108 kB
  • ctags: 43
  • sloc: ansic: 262; python: 45; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 330 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
from distutils.core import setup, Extension

module1 = Extension('GeoIP',
	libraries = ['GeoIP'],
	sources = ['py_GeoIP.c'],
	library_dirs = ['/usr/local/lib'],
	include_dirs = ['/usr/local/include'])

setup (name = 'GeoIP-Python',
	version = '1.2.1',
	description = 'This is a python wrapper to GeoIP',
	ext_modules = [module1])