forked from ecometrica/gdal2mbtiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·57 lines (44 loc) · 1.71 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
#!/usr/bin/env python
from __future__ import absolute_import
from setuptools import setup
import gdal2mbtiles
# Hack to prevent stupid TypeError: 'NoneType' object is not callable error on
# exit of python setup.py test in multiprocessing/util.py _exit_function when
# running python setup.py test (see
# http://www.eby-sarna.com/pipermail/peak/2010-May/003357.html)
import multiprocessing
multiprocessing
setup(
name='gdal2mbtiles',
version=gdal2mbtiles.__version__,
description='Converts a GDAL-readable dataset into an MBTiles file. This is used to generate web maps.',
long_description=open('README.rst').read(),
license='Apache Software License, version 2.0',
author='Ecometrica',
author_email='admin@ecometrica.com',
url='https://github.com/ecometrica/gdal2mbtiles',
packages=['gdal2mbtiles'],
include_package_data=True,
install_requires=['numexpr', 'webcolors'],
# You also need certain dependencies that aren't in PyPi:
# python-gdal, python-vipscc, libtiff5, optipng, pngquant
# HACK: We cannot use PyPi's GDAL package because it's terribly
# broken and doesn't build out of the box.
entry_points={
'console_scripts': [
'gdal2mbtiles = gdal2mbtiles.main:main',
]
},
test_suite='tests',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Other Audience',
'License :: OSI Approved :: Apache Software License',
'Operating System :: POSIX',
'Programming Language :: Python :: 2.7',
'Topic :: Multimedia :: Graphics :: Graphics Conversion',
'Topic :: Scientific/Engineering :: GIS',
],
zip_safe=True,
)