forked from wrobell/geotiler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
65 lines (61 loc) · 2.33 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
#!/usr/bin/env python
#
# GeoTiler - library to create maps using tiles from a map provider
#
# Copyright (C) 2014-2019 by Artur Wroblewski <[email protected]>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
#
# This file incorporates work covered by the following copyright and
# permission notice (restored, based on setup.py file from
# https://github.com/stamen/modestmaps-py):
#
# Copyright (C) 2007-2013 by Michal Migurski and other contributors
# License: BSD
#
import ast
from setuptools import setup, find_packages
VERSION = ast.parse(
next(l for l in open('geotiler/__init__.py') if l.startswith('__version__'))
).body[0].value.s
setup(
name='geotiler',
packages=find_packages('.'),
include_package_data=True,
scripts=('bin/geotiler-lint', 'bin/geotiler-route', 'bin/geotiler-fetch'),
version=VERSION,
description='GeoTiler - library to create maps using tiles'
' from a map provider',
author='Artur Wroblewski',
author_email='[email protected]',
url='https://wrobell.dcmod.org/geotiler/',
project_urls={
'Code': 'https://github.com/wrobell/geotiler',
'Issue tracker': 'https://github.com/wrobell/geotiler/issues',
},
setup_requires = ['setuptools_git >= 1.0'],
install_requires=['Pillow', 'cytoolz >= 0.8.2', 'aiohttp >= 2.3.5'],
classifiers=[
'Topic :: Scientific/Engineering :: GIS',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python :: 3.6',
'Development Status :: 4 - Beta',
],
long_description=open('README').read(),
long_description_content_type='text/x-rst',
license='GPL (includes BSD licensed code)',
)
# vim: sw=4:et:ai