Skip to content

Commit 202bd3d

Browse files
author
afabiani
committed
[ref. GeoNode#6388] Error when installing core GeoNode into virtual environment
(cherry picked from commit 4f6dad0)
1 parent 8cf939f commit 202bd3d

File tree

3 files changed

+192
-16
lines changed

3 files changed

+192
-16
lines changed

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,6 @@ splinter==0.14.0
146146
pytest-splinter==2.1.0
147147
pytest-django==3.9.0
148148
setuptools==50.0.3
149-
pip==20.1.1
149+
pip==20.2.2
150150
Twisted==20.3.0
151151
factory-boy==2.12.0

setup.cfg

+188-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,191 @@
1+
[metadata]
2+
name = GeoNode
3+
description = Application for serving and sharing geospatial data
4+
license = GPL
5+
author = GeoNode Developers
6+
author_email = [email protected]
7+
url = http://geonode.org
8+
download_url = https://github.com/GeoNode/geonode/archive/master.zip
9+
keywords = django, geonode
10+
classifiers =
11+
Development Status :: 5 - Production/Stable
12+
Environment :: Web Environment
13+
Framework :: Django
14+
Intended Audience :: Developers
15+
License :: GPL
16+
Operating System :: OS Independent
17+
Topic :: Internet :: WWW/HTTP
18+
Programming Language :: Python :: 3.8
19+
20+
[options]
21+
zip_safe = False
22+
include_package_data = True
23+
python_requires = >= 2.7, != 3.0.*, != 3.1.*, != 3.2.*
24+
packages = find:
25+
setup_requires =
26+
setuptools
27+
install_requires =
28+
# native dependencies
29+
Pillow==7.2.0
30+
lxml==4.5.2
31+
defusedxml==0.6.0
32+
psycopg2==2.8.5
33+
Django==2.2.15
34+
35+
# Other
36+
amqp==2.6.1
37+
pyyaml>=4.2b1
38+
beautifulsoup4==4.9.1
39+
httplib2<0.18.2
40+
hyperlink==20.0.1
41+
idna>=2.5,<2.11
42+
urllib3==1.25.10
43+
Paver==1.3.4
44+
python-slugify==4.0.1
45+
decorator==4.4.2
46+
celery==4.4.7
47+
kombu==4.6.11
48+
boto3==1.14.53
49+
six==1.15.0
50+
tqdm==4.48.2
51+
Deprecated==1.2.10
52+
wrapt==1.12.1
53+
jsonfield==3.1.0
54+
55+
# Django Apps
56+
django-allauth==0.42.0
57+
django-appconf==1.0.4
58+
django-filter==2.3.0
59+
django-imagekit==4.0.2
60+
django-jsonfield==1.4.0
61+
django-jsonfield-compat==0.4.4
62+
django-taggit==1.3.0
63+
django-markdownify==0.8.1
64+
django-mptt==0.11.0
65+
django-modeltranslation>=0.11,<0.16.0
66+
django-treebeard==4.3.1
67+
django-guardian<2.3.1
68+
django-downloadview==1.10
69+
django-polymorphic==3.0.0
70+
django-tastypie<0.15.0
71+
django-tinymce==3.0.2
72+
django-grappelli==2.14.2
73+
oauthlib==3.1.0
74+
pyopenssl==19.1.0
75+
76+
# geopython dependencies
77+
pyproj==2.6.1.post1
78+
OWSLib==0.20.0
79+
pycsw==2.4.2
80+
SQLAlchemy==1.3.19 # required by PyCSW
81+
Shapely==1.7.1
82+
mercantile==1.1.6
83+
geoip2==3.0.0
84+
numpy==1.19.*
85+
86+
# # Apps with packages provided in GeoNode's PPA on Launchpad.
87+
88+
# Django Apps
89+
dj-database-url==0.5.0
90+
dj-pagination==2.5.0
91+
django-celery-monitor<=1.1.2
92+
django-celery-beat==2.0.0
93+
django-floppyforms<1.10.0
94+
django-forms-bootstrap<=3.1.0
95+
django-autocomplete-light==3.5.1
96+
django-leaflet==0.27.1
97+
django-invitations<1.9.4
98+
django-recaptcha==2.0.6
99+
100+
# REST
101+
djangorestframework==3.11.1
102+
djangorestframework_guardian==0.3.0
103+
drf-extensions==0.6.0
104+
drf-writable-nested==0.6.1
105+
drf-yasg==1.17.1
106+
dynamic-rest==1.9.6
107+
Markdown==3.2.2
108+
109+
pinax-notifications==6.0.0
110+
pinax-ratings==4.0.0
111+
112+
# GeoNode org maintained apps.
113+
django_mapstore_adapter==2.0.4.6
114+
django-geonode-mapstore-client==2.0.8.1
115+
geonode-avatar==5.0.7
116+
django-geonode-client==1.0.9
117+
geonode-oauth-toolkit==2.0.0
118+
geonode-user-messages==2.0.1
119+
geonode-announcements==2.0.2
120+
geonode-django-activity-stream==0.9.0
121+
gn-arcrest==10.5.1
122+
geonode-dialogos==3.0.1
123+
geoserver-restconfig==2.0.4.6
124+
gn-gsimporter==2.0.1
125+
gisdata==0.5.4
126+
127+
# haystack/elasticsearch
128+
django-haystack==2.8.1
129+
elasticsearch>=2.0.0,<8.0.0
130+
131+
# datetimepicker widget
132+
django-bootstrap3-datetimepicker-2==2.8.2
133+
134+
# AWS S3 dependencies
135+
django-storages==1.10
136+
137+
# Django Caches
138+
python-memcached<=1.59
139+
140+
# Contribs
141+
xmltodict<0.12.1
142+
inflection<0.5.2
143+
jdcal==1.4.1
144+
mock<5.0.0
145+
python-dateutil==2.8.1
146+
pytz==2020.1
147+
requests==2.24.0
148+
timeout-decorator==0.4.1
149+
python_resize_image==1.1.19
150+
151+
# required by monitoring
152+
psutil==5.7.2
153+
django-cors-headers==3.5.0
154+
user-agents
155+
xmljson
156+
django-ipware<3.1
157+
# no version here, use latest one with fresh data
158+
pycountry
159+
160+
# production
161+
uWSGI==2.0.19.1
162+
gunicorn==20.0.4
163+
ipython==7.17.0
164+
docker==4.3.1
165+
invoke==1.4.1
166+
167+
# tests
168+
coverage==5.2.1
169+
parse-type==0.5.2
170+
requests-toolbelt==0.9.1
171+
flake8==3.8.3
172+
pytest==6.0.1
173+
pytest-bdd==3.4.0
174+
splinter==0.14.0
175+
pytest-splinter==2.1.0
176+
pytest-django==3.9.0
177+
setuptools==50.0.3
178+
pip==20.2.2
179+
Twisted==20.3.0
180+
factory-boy==2.12.0
181+
182+
[options.packages.find]
183+
exclude = tests
184+
185+
[bdist_wheel]
186+
universal = 1
187+
1188
[flake8]
2189
max-line-length = 120
3190
exclude=geonode/*/migrations/*,management,scripts,docs,static,migrations,geonode/*settings.py,node_modules
4-
extend-ignore=E122,E124
191+
extend-ignore=E122,E124

setup.py

+3-14
Original file line numberDiff line numberDiff line change
@@ -17,34 +17,23 @@
1717
# along with this program. If not, see <http://www.gnu.org/licenses/>.
1818
#
1919
#########################################################################
20-
from distutils.core import setup
21-
22-
from setuptools import find_packages
20+
from setuptools import setup
2321

2422
import os
2523
import sys
2624

2725
current_directory = os.path.dirname(os.path.abspath(__file__))
2826
sys.path.append(current_directory)
2927

28+
3029
setup(
31-
name="GeoNode",
3230
version=__import__("geonode").get_version(),
33-
description="Application for serving and sharing geospatial data",
3431
long_description=open("README.md").read(),
35-
classifiers=["Development Status :: 5 - Production/Stable"],
36-
keywords="",
37-
author="GeoNode Developers",
38-
author_email="[email protected]",
39-
url="http://geonode.org",
40-
license="GPL",
41-
packages=find_packages(),
4232
package_data={
4333
"": ["*.*"], # noqa
4434
"": ["static/*.*"], # noqa
4535
"static": ["*.*"],
4636
"": ["templates/*.*"], # noqa
4737
"templates": ["*.*"],
48-
},
49-
include_package_data=True,
38+
}
5039
)

0 commit comments

Comments
 (0)