Closed tiuma closed 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',
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.
Thanks, these changes have been committed.
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:
http://pypi.python.org/simple/django-olwidget/ Getting page http://olwidget.org Analyzing links from page http://pypi.python.org/simple/django-olwidget/ Found link http://pypi.python.org/packages/source/d/django-olwidget/django-olwidget-0.46.tar.gz#md5=3d351c488748281897693ec1be47981a (from http://pypi.python.org/simple/django-olwidget/), version: 0.46 Found link http://pypi.python.org/packages/source/d/django-olwidget/django-olwidget-0.45.tar.gz#md5=515dd723301a9ab97bc5ec4b69ac1ee0 (from http://pypi.python.org/simple/django-olwidget/), version: 0.45 Found link http://pypi.python.org/packages/source/d/django-olwidget/django-olwidget-v0.4.tar.gz#md5=6a7d12ea63fea39ba87ac5601a230ef5 (from http://pypi.python.org/simple/django-olwidget/), version: v0.4 Skipping link http://olwidget.org (from http://pypi.python.org/simple/django-olwidget/); not a file Analyzing links from page http://olwidget.org Skipping link http://olwidget.org/css/style.css (from http://olwidget.org); unknown archive format: .css Skipping link http://olwidget.org/css/ie.css (from http://olwidget.org); unknown archive format: .css Skipping link http://olwidget.org/css/print.css (from http://olwidget.org); unknown archive format: .css Skipping link http://olwidget.org/olwidget/v0.4/css/olwidget.css (from http://olwidget.org); unknown archive format: .css Skipping link http://github.com/yourcelf/olwidget (from http://olwidget.org); not a file Skipping link http://olwidget.org#download (from http://olwidget.org); not a file Skipping link http://olwidget.org/olwidget/v0.4/doc/ (from http://olwidget.org); not a file Skipping link http://groups.google.com/group/olwidget (from http://olwidget.org); not a file Skipping link http://olwidget.org/about/ (from http://olwidget.org); not a file Skipping link http://en.wikipedia.org/wiki/Well-known_text (from http://olwidget.org); not a file Skipping link http://olwidget.org/olwidget/v0.4/doc/examples.html (from http://olwidget.org); unknown archive format: .html Skipping link http://pypi.python.org/pypi/django-olwidget/ (from http://olwidget.org); not a file Skipping link http://github.com/yourcelf/olwidget/issues (from http://olwidget.org); not a file Using version 0.46 (newest of versions: 0.46, 0.45, v0.4) Downloading django-olwidget-0.46.tar.gz Downloading from URL http://pypi.python.org/packages/source/d/django-olwidget/django-olwidget-0.46.tar.gz#md5=3d351c488748281897693ec1be47981a (from http://pypi.python.org/simple/django-olwidget/) Running setup.py egg_info for package django-olwidget running egg_info creating pip-egg-info\django_olwidget.egg-info writing pip-egg-info\django_olwidget.egg-info\PKG-INFO writing top-level names to pip-egg-info\django_olwidget.egg-info\top_level.txt writing dependency_links to pip-egg-info\django_olwidget.egg-info\dependency_links.txt writing manifest file 'pip-egg-info\django_olwidget.egg-info\SOURCES.txt' warning: manifest_maker: standard file '-c' not found
reading manifest file 'pip-egg-info\django_olwidget.egg-info\SOURCES.txt' writing manifest file 'pip-egg-info\django_olwidget.egg-info\SOURCES.txt' Installing collected packages: django-olwidget Running setup.py install for django-olwidget Running command C:\virtualenvs\django13\Scripts\python.exe -c "import setuptools;file='C:\virtualenvs\django13\build\django-olwidget\setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record c:\users\hueso\appdata\local\temp\pip-8eoah8-record\install-record.txt --install-headers C:\virtualenvs\django13\include\site\python2.7 running install running build running build_py creating build creating build\lib creating build\lib\olwidget copying django-olwidget\olwidget\admin.py -> build\lib\olwidget copying django-olwidget\olwidget\fields.py -> build\lib\olwidget copying django-olwidget\olwidget\forms.py -> build\lib\olwidget copying django-olwidget\olwidget\models.py -> build\lib\olwidget copying django-olwidget\olwidget\tests.py -> build\lib\olwidget copying django-olwidget\olwidget\utils.py -> build\lib\olwidget copying django-olwidget\olwidget\widgets.py -> build\lib\olwidget copying django-olwidget\olwidgetinit.py -> build\lib\olwidget running install_lib creating C:\virtualenvs\django13\Lib\site-packages\olwidget copying build\lib\olwidget\admin.py -> C:\virtualenvs\django13\Lib\site-packages\olwidget copying build\lib\olwidget\fields.py -> C:\virtualenvs\django13\Lib\site-packages\olwidget copying build\lib\olwidget\forms.py -> C:\virtualenvs\django13\Lib\site-packages\olwidget copying build\lib\olwidget\models.py -> C:\virtualenvs\django13\Lib\site-packages\olwidget copying build\lib\olwidget\tests.py -> C:\virtualenvs\django13\Lib\site-packages\olwidget copying build\lib\olwidget\utils.py -> C:\virtualenvs\django13\Lib\site-packages\olwidget copying build\lib\olwidget\widgets.py -> C:\virtualenvs\django13\Lib\site-packages\olwidget copying build\lib\olwidgetinit.py -> C:\virtualenvs\django13\Lib\site-packages\olwidget byte-compiling C:\virtualenvs\django13\Lib\site-packages\olwidget\admin.py to admin.pyc byte-compiling C:\virtualenvs\django13\Lib\site-packages\olwidget\fields.py to fields.pyc byte-compiling C:\virtualenvs\django13\Lib\site-packages\olwidget\forms.py to forms.pyc byte-compiling C:\virtualenvs\django13\Lib\site-packages\olwidget\models.py to models.pyc byte-compiling C:\virtualenvs\django13\Lib\site-packages\olwidget\tests.py to tests.pyc byte-compiling C:\virtualenvs\django13\Lib\site-packages\olwidget\utils.py to utils.pyc byte-compiling C:\virtualenvs\django13\Lib\site-packages\olwidget\widgets.py to widgets.pyc byte-compiling C:\virtualenvs\django13\Lib\site-packages\olwidgetinit.py to init.pyc running install_data Traceback (most recent call last): File "", line 1, in
File "C:\virtualenvs\django13\build\django-olwidget\setup.py", line 44, in
'Topic :: Software Development :: Libraries :: Application Frameworks',
File "C:\Python27\Lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "C:\Python27\Lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "C:\Python27\Lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "C:\virtualenvs\django13\lib\site-packages\setuptools-0.6c11-py2.7.egg\setuptools\command\install.py", line 56, in run
File "C:\Python27\Lib\distutils\command\install.py", line 575, in run
self.run_command(cmd_name)
File "C:\Python27\Lib\distutils\cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "C:\Python27\Lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "C:\Python27\Lib\distutils\command\install_data.py", line 58, in run
dir = convert_path(f[0])
File "C:\Python27\Lib\distutils\util.py", line 203, in convert_path
raise ValueError, "path '%s' cannot end with '/'" % pathname
ValueError: path 'olwidget/templates/olwidget/' cannot end with '/'
Complete output from command C:\virtualenvs\django13\Scripts\python.exe -c "import setuptools;file='C:\virtualenvs\django13\build\django-olwidget\setup.py';exec(compile(open(file).read().replace('\r\n', '\n'), file, 'exec'))" install --single-version-externally-managed --record c:\users\hueso\appdata\local\temp\pip-8eoah8-record\install-record.txt --install-headers C:\virtualenvs\django13\include\site\python2.7:
running install