forked from GeoNode/geonode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
134 lines (119 loc) · 4.6 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
# -*- coding: utf-8 -*-
#########################################################################
#
# Copyright (C) 2016 OSGeo
#
# 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/>.
#
#########################################################################
from distutils.core import setup
from distutils.command.install import INSTALL_SCHEMES
from setuptools import find_packages
import os
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if on_rtd:
shapely_dep = "Shapely<1.5.13"
else:
shapely_dep = "Shapely>=1.5.13"
setup(name='GeoNode',
version=__import__('geonode').get_version(),
description="Application for serving and sharing geospatial data",
long_description=open('README').read(),
classifiers=[
"Development Status :: 4 - Beta"],
keywords='',
author='GeoNode Developers',
author_email='[email protected]',
url='http://geonode.org',
license='GPL',
packages=find_packages(),
include_package_data=True,
install_requires=[
# # The commented name next to the package
# # is the Ubuntu 14.04 package that provides it.
# # Apps with official Ubuntu 14.04 packages
# native dependencies
"pillow>=3.1.1", # python-pillow
"lxml>=3.4.4", # python-lxml
"psycopg2>=2.4.5", # python-psycopg2
"Django >=1.8.7, < 1.9a0", # python-django
# Other
"pyyaml>=3.11",
"beautifulsoup4>=4.2.1", # python-bs4
"MultipartPostHandler>=0.1.0", # python-multipartposthandler
"httplib2>=0.9.2", # python-httplib2
"transifex-client>=0.10", # transifex-client
"Paver>=1.2.1", # python-paver
"nose>=1.3.1", # python-nose
"django-nose>=1.4", # python-django-nose
"awesome-slugify>=1.6.2",
# Django Apps
"django-pagination >=1.0.5, <=1.0.7", # python-django-pagination
"django-extensions>=1.2.5", # python-django-extensions
"django-taggit>=0.21.0", # python-django-taggit
"django-mptt>=0.8.6", # django-mptt
"django-treebeard>=3.0", #django-treebeard
"django-guardian>=1.4.1", #django-guardian
# "django-admin-bootstrapped>=1.6.5", #django-admin-bootstrapped
## Apps with packages provided in GeoNode's PPA on Launchpad.
"dj-database-url >=0.4.0",
"django-jsonfield>=0.9.16", # python-django-jsonfield
"django-mptt>=0.8.0", # django-mptt
# "django-admin-bootstrapped>=1.6.5", # django-admin-bootstrapped
# # Apps with packages provided in GeoNode's PPA on Launchpad.
"pinax-theme-bootstrap>=3.0a11",
"pinax-theme-bootstrap-account>=1.0b2",
"django-forms-bootstrap>=3.0.1",
"django-friendly-tag-loader>=1.2.1",
"django-activity-stream>=0.6.1",
"django-downloadview>=1.2",
"django-tastypie>=0.12.2",
"django-polymorphic>=0.9.2",
"django-leaflet>=0.13.7",
"django-autocomplete-light>=2.3.3, <3.0a0",
"django-modeltranslation>=0.11",
# GeoNode org maintained apps.
"django-geoexplorer>=4.0.5",
"geonode-user-messages>=0.1.4",
"geonode-avatar>=2.1.6",
"geonode-announcements>=1.0.8",
"geonode-agon-ratings>=0.3.5",
"geonode-user-accounts>=1.0.13",
"geonode-arcrest>=10.2",
"geonode-notification>=1.1.1",
"geonode-dialogos>=0.5",
"gsconfig>=1.0.6",
"gsimporter>=1.0.0",
"gisdata>=0.5.4",
# geopython dependencies
"OWSLib>=0.11.0",
"pycsw>=2.0.2",
"pyproj>=1.9.3",
"%s" % shapely_dep,
# haystack/elasticsearch, uncomment to use
"django-haystack>=2.4.1",
"elasticsearch>=2.4.0",
"pyelasticsearch>=0.6.1",
"celery>=3.1.17",
"django-celery>=3.1.16",
# datetimepicker widget
"django-bootstrap3-datetimepicker>=2.2.3",
"flake8>=2.3.0",
"pep8>=1.6.2",
#AWS S3 dependencies
"django-storages>=1.1.8",
"boto>=2.38.0"
],
zip_safe=False,
)