-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
66 lines (62 loc) · 2.01 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
"""ecoshard setup.py."""
import numpy
from setuptools.extension import Extension
from setuptools import setup
import os
print(os.environ['PATH'])
LONG_DESCRIPTION = '%s\n\n%s' % (
open('README.rst').read(),
open('HISTORY.rst').read())
setup(
name='ecoshard',
setup_requires=['setuptools_scm'],
use_scm_version={'version_scheme': 'post-release',
'local_scheme': 'node-and-date'},
description='EcoShard GIS data',
long_description=LONG_DESCRIPTION,
maintainer='Rich Sharp',
maintainer_email='richpsharp@gmail.com',
url='https://github.com/therealspring/ecoshard',
packages=[
'ecoshard',
'ecoshard.geoprocessing',
'ecoshard.geoprocessing.routing',
'ecoshard.taskgraph',
'ecoshard.fetch_data',
],
package_dir={
'ecoshard': 'src/ecoshard',
'ecoshard.taskgraph': 'src/taskgraph',
'ecoshard.fetch_data': 'src/fetch_data',
},
zip_safe=False,
include_package_data=True,
license='BSD',
keywords='computing reproduction',
classifiers=[
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft',
'Operating System :: POSIX',
'Programming Language :: Python :: 3.7',
'License :: OSI Approved :: BSD License'
],
ext_modules=[
Extension(
name="ecoshard.geoprocessing.routing.routing",
sources=["src/ecoshard/geoprocessing/routing/routing.pyx"],
include_dirs=[
numpy.get_include(),
'src/ecoshard/geoprocessing/routing'],
language="c++",
),
Extension(
"ecoshard.geoprocessing.geoprocessing_core",
sources=[
'src/ecoshard/geoprocessing/geoprocessing_core.pyx'],
include_dirs=[numpy.get_include()],
language="c++"
),
]
)