| 1 | from setuptools import setup, Extension |
|---|
| 2 | from sys import version_info |
|---|
| 3 | |
|---|
| 4 | # Require ctypes egg only for Python < 2.5 |
|---|
| 5 | install_requires = ['setuptools'] |
|---|
| 6 | |
|---|
| 7 | # Get text from README.txt |
|---|
| 8 | readme_text = file('README.txt', 'rb').read() |
|---|
| 9 | |
|---|
| 10 | setup(name = 'Shapely', |
|---|
| 11 | version = '1.1a4', |
|---|
| 12 | description = 'Geospatial geometries, predicates, and operations', |
|---|
| 13 | license = 'BSD', |
|---|
| 14 | keywords = 'geometry topology', |
|---|
| 15 | author = 'Sean Gillies', |
|---|
| 16 | author_email = 'sgillies@frii.com', |
|---|
| 17 | maintainer = 'Sean Gillies', |
|---|
| 18 | maintainer_email = 'sgillies@frii.com', |
|---|
| 19 | url = 'http://trac.gispython.org/lab/wiki/Shapely', |
|---|
| 20 | long_description = readme_text, |
|---|
| 21 | packages = ['shapely', 'shapely.geometry'], |
|---|
| 22 | namespace_packages = ['shapely'], |
|---|
| 23 | install_requires = install_requires, |
|---|
| 24 | tests_require = ['numpy'], |
|---|
| 25 | # test_suite = 'tests.test_suite', |
|---|
| 26 | classifiers = [ |
|---|
| 27 | 'Development Status :: 3 - Alpha', |
|---|
| 28 | 'Intended Audience :: Developers', |
|---|
| 29 | 'Intended Audience :: Science/Research', |
|---|
| 30 | 'License :: OSI Approved :: BSD License', |
|---|
| 31 | 'Operating System :: OS Independent', |
|---|
| 32 | 'Programming Language :: Python', |
|---|
| 33 | 'Topic :: Scientific/Engineering :: GIS', |
|---|
| 34 | ], |
|---|
| 35 | ) |
|---|