forked from Toblerity/rtree
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·48 lines (43 loc) · 1.53 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
47
48
#!/usr/bin/env python
from setuptools import setup
import rtree
# Get text from README.txt
with open('docs/source/README.txt', 'r') as fp:
readme_text = fp.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',
],
)