-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
58 lines (43 loc) · 1.77 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
# -*- coding: utf-8 -*-
# This file is part of CartoDB Backup.
# https://github.com/GeographicaGS/CartoDB_Backup
# Licensed under the GPLv2 license:
# https://www.gnu.org/licenses/gpl-2.0.txt
# Copyright (c) 2015, Cayetano Benavent <[email protected]>
from setuptools import setup, find_packages
# Get the long description from README file.
# Before upload a new version run rstgenerator.sh
# to update Readme reStructuredText file from
# original Readme markdown file.
with open('README.rst', 'r') as f:
long_description = f.read()
setup(
name='cartodb_backup',
version='0.1.1',
description='Python CLI to make a backup of an entire CartoDB domain to SQL dump file (zipped). Optionally you can restore SQL dumped file to a new (created) PostGIS DB. Also you can upload sql files to Amazon S3.',
long_description=long_description,
author='Cayetano Benavent',
author_email='[email protected]',
scripts=['bin/cartodb_backup'],
# The project's main homepage.
url='https://github.com/GeographicaGS/CartoDB_Backup',
# Licensed under the GPLv2 license:
# https://www.gnu.org/licenses/gpl-2.0.txt
license='GPLv2',
# According to: https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: GNU General Public License v2 (GPLv2)',
'Programming Language :: Python :: 2.7',
'Operating System :: OS Independent',
'Topic :: Scientific/Engineering :: GIS'
],
packages=find_packages(),
include_package_data=False,
install_requires=[
'boto>=2.38.0,<3.0',
'psycopg2>=2.4.5,<3.0'
],
keywords='cartodb GIS postgis',
)