forked from camptocamp/tilecloud-chain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
66 lines (60 loc) · 2.2 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
# -*- coding: utf-8 -*-
import os
import sys
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.rst')) as r:
with open(os.path.join(here, 'CHANGES.rst')) as c:
README = r.read() + '\n\n' + c.read()
install_requires = open(os.path.join(here, 'requirements.txt')).read().splitlines()
if sys.version_info < (2, 7):
install_requires.extend([
'argparse',
])
setup(
name='tilecloud-chain',
version='1.3.0',
description=(
"Tools to generates tiles from WMS or Mapnik, to S3, "
"Berkley DB, MBTiles, or local filesystem in WMTS layout using "
"Amazon cloud services."
),
long_description=README,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Topic :: Scientific/Engineering :: GIS',
],
author='Stéphane Brunner',
author_email='stephane.brunner@camptocamp.com',
url='http://github.com/sbrunner/tilecloud-chain',
license='BSD',
keywords='gis tilecloud chain',
packages=find_packages(exclude=["*.tests", "*.tests.*"]),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
entry_points={
'console_scripts': [
'generate_tiles = tilecloud_chain.generate:main',
'generate_controller = tilecloud_chain.controller:main',
'generate_amazon = tilecloud_chain.amazon:main',
'generate_cost = tilecloud_chain.cost:main',
'generate_copy = tilecloud_chain.copy_:main',
'generate_process = tilecloud_chain.copy_:process',
'import_expiretiles = tilecloud_chain.expiretiles:main',
],
'pyramid.scaffold': [
'tilecloud_chain = tilecloud_chain.scaffolds:Create',
'tilecloud_chain_ec2 = tilecloud_chain.scaffolds:Ec2',
],
'paste.app_factory': [
'server = tilecloud_chain.server:app_factory',
],
}
)