yourcelf / olwidget

Javascript library to replace textareas that contain WKT data with editable OpenLayers maps, and a django app using it for django forms and admin.
Other
91 stars 43 forks source link

cannot install on windows 7 and Python 2.7 #75

Closed tiuma closed 13 years ago

tiuma commented 13 years ago

Hi,

I can not install olwidget on a windows 7 machine.

Windows 7 64 bits Python 2.7 Django 1.3

trying to install:

easy_install django-olwidget --> FAIL pip install django-olwidget --> FAIL The same result from sources with setup.py

Always is the same error:

Downloading/unpacking django-olwidget Getting page http://pypi.python.org/simple/django-olwidget URLs to search for versions for django-olwidget:

yourcelf commented 13 years ago

If you apply this patch, does install work for you? I don't currently have a Windows 7 box to test:

diff --git a/setup.py b/setup.py
index 61c62ba..13746d4 100644
--- a/setup.py
+++ b/setup.py
@@ -23,7 +23,7 @@ setup(name='django-olwidget',
     packages=['olwidget'],
     package_dir={'': 'django-olwidget'},
     data_files=[
-        ('olwidget/templates/olwidget/', [
+        ('olwidget/templates/olwidget', [
             'django-olwidget/olwidget/templates/olwidget/admin_olwidget.html',
             'django-olwidget/olwidget/templates/olwidget/editable_layer.html',
             'django-olwidget/olwidget/templates/olwidget/multi_layer_map.html',
tiuma commented 13 years ago

Yes, that patch works! Thanks. After that, another error and another patch over setup.py:

2011/8/28 yourcelf < reply@reply.github.com>

If you apply this patch, does install work for you? I don't currently have a Windows 7 box to test:

diff --git a/setup.py b/setup.py index 61c62ba..13746d4 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ setup(name='django-olwidget', packages=['olwidget'], package_dir={'': 'django-olwidget'}, data_files=[

  • ('olwidget/templates/olwidget/', [
  • ('olwidget/templates/olwidget', [

'django-olwidget/olwidget/templates/olwidget/admin_olwidget.html',

'django-olwidget/olwidget/templates/olwidget/editable_layer.html',

'django-olwidget/olwidget/templates/olwidget/multi_layer_map.html',

Reply to this email directly or view it on GitHub: https://github.com/yourcelf/olwidget/issues/75#issuecomment-1926008

Lic. Mario Moya Tel: +54 299 4771196 Cel: +54 299 155023987 mmoya@8ksoft.com.ar Belgrano 167 - (8324) Cipolletti, Ro Negro http://www.8ksoft.com.ar

Cuidar el medio ambiente depende de todos, imprime slo lo necesario.

yourcelf commented 13 years ago

Thanks, these changes have been committed.