| 1 |
|
|---|
| 2 |
from setuptools import setup |
|---|
| 3 |
from distutils.core import Extension |
|---|
| 4 |
from Cython.Distutils import build_ext as build_pyx |
|---|
| 5 |
|
|---|
| 6 |
libs = ['gdal'] |
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
readme_text = file('README.txt', 'rb').read() |
|---|
| 10 |
|
|---|
| 11 |
setup(name = 'WorldMill', |
|---|
| 12 |
version = '0.1', |
|---|
| 13 |
description = 'Access and transform geospatial feature data', |
|---|
| 14 |
license = 'BSD', |
|---|
| 15 |
keywords = 'gis vector feature data', |
|---|
| 16 |
author = 'Sean Gillies', |
|---|
| 17 |
author_email = 'sgillies@frii.com', |
|---|
| 18 |
maintainer = 'Sean Gillies', |
|---|
| 19 |
maintainer_email = 'sgillies@frii.com', |
|---|
| 20 |
url = 'http://trac.gispython.org/projects/PCL/wiki/WorldMill', |
|---|
| 21 |
long_description = readme_text, |
|---|
| 22 |
package_dir = {'': 'src'}, |
|---|
| 23 |
packages = ['mill'], |
|---|
| 24 |
install_requires = ['setuptools', 'Cython'], |
|---|
| 25 |
ext_modules = [ |
|---|
| 26 |
Extension('mill.workspace', ['src/mill/workspace.pyx'], libraries=libs), |
|---|
| 27 |
Extension( |
|---|
| 28 |
'mill.collection', |
|---|
| 29 |
['src/mill/collection.pyx'], |
|---|
| 30 |
libraries=libs |
|---|
| 31 |
), |
|---|
| 32 |
Extension('mill.ogrinit', ['src/mill/ogrinit.pyx'], libraries=libs), |
|---|
| 33 |
], |
|---|
| 34 |
cmdclass = {'build_ext': build_pyx}, |
|---|
| 35 |
classifiers = [ |
|---|
| 36 |
'Development Status :: 3 - Alpha', |
|---|
| 37 |
'Intended Audience :: Developers', |
|---|
| 38 |
'Intended Audience :: Science/Research', |
|---|
| 39 |
'License :: OSI Approved :: BSD License', |
|---|
| 40 |
'Operating System :: OS Independent', |
|---|
| 41 |
'Programming Language :: Python', |
|---|
| 42 |
'Topic :: Scientific/Engineering :: GIS', |
|---|
| 43 |
], |
|---|
| 44 |
) |
|---|
| 45 |
|
|---|