forked from Toblerity/rtree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (41 loc) · 1.51 KB
/
setup.py
1
2
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
from glob import glob
from setuptools import setup
import rtree
# Get text from README.txt
readme_text = file('docs/source/README.txt', 'rb').read()
import os
if os.name == 'nt':
data_files=[('Lib/site-packages/rtree',
[r'D:\libspatialindex\bin\spatialindex.dll',
r'D:\libspatialindex\bin\spatialindex_c.dll',]),]
else:
data_files = None
setup(name = 'Rtree',
version = rtree.__version__,
description = 'R-Tree spatial index for Python GIS',
license = 'LGPL',
keywords = 'gis spatial index r-tree',
author = 'Sean Gillies',
author_email = '[email protected]',
maintainer = 'Howard Butler',
maintainer_email = '[email protected]',
url = 'http://toblerity.github.com/rtree/',
long_description = readme_text,
packages = ['rtree'],
install_requires = ['setuptools'],
test_suite = 'tests.test_suite',
data_files = data_files,
zip_safe = False,
classifiers = [
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Operating System :: OS Independent',
'Programming Language :: C',
'Programming Language :: C++',
'Programming Language :: Python',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Database',
],
)