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