forked from Zverik/polytiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (36 loc) · 1.12 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
from setuptools import setup
from os import path
try:
import mapnik
except ImportError:
raise ImportError('Mapnik library and its python bindings are required to install Polytiles.')
here = path.abspath(path.dirname(__file__))
setup(
name='polytiles',
version='1.0.1',
author='Ilya Zverev',
author_email='ilya@zverev.info',
packages=['polytiles'],
install_requires=[
'mapnik',
'shapely',
],
url='https://github.com/zverik/polytiles',
license='WTFPL',
description='A script to render tiles for an area with mapnik',
long_description=open(path.join(here, 'README.rst')).read(),
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Information Technology',
'Natural Language :: English',
'Operating System :: OS Independent',
'Topic :: Utilities',
'License :: Public Domain',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
entry_points={
'console_scripts': ['polytiles = polytiles:main']
},
)