pombreda / xhtml2pdf

Automatically exported from code.google.com/p/xhtml2pdf
GNU General Public License v2.0
0 stars 0 forks source link

easy_install on mac_osx doesn't set up paths correctly #62

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. on mac_osx with python2.6 installed from python.org
2. easy_install pisa 
3. from python interpreter 
>>> import pisa
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named pisa

What is the expected output? What do you see instead?

expected output is none, successful import.

What version of the product are you using? On what operating system?

latest version pisa-3.0.32

Please provide any additional information below.

It appears to create a directory in the configured site-packages path as follows

lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/EGG-INFO
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/EGG-INFO/dependency_links.txt
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/EGG-INFO/entry_points.txt
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/EGG-INFO/not-zip-safe
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/EGG-INFO/PKG-INFO
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/EGG-INFO/SOURCES.txt
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/EGG-INFO/top_level.txt
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/ho
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/ho/__init__.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/ho/__init__.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/ho/__init__.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/ho/pisa
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/ho/pisa/__init__.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/ho/pisa/__init__.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/ho/pisa/__init__.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/__init__.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/__init__.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/__init__.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/__init__.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/__init__.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/__init__.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_context.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_context.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_context.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_default.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_default.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_default.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_document.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_document.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_document.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_paragraph.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_paragraph.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_paragraph.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_paragraph2.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_paragraph2.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_paragraph2.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_parser.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_parser.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_parser.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_pdf.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_pdf.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_pdf.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_reportlab.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_reportlab.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_reportlab.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_tables.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_tables.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_tables.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_tags.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_tags.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_tags.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_turbogears.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_turbogears.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_turbogears.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_util.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_util.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_util.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_version.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_version.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_version.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_wsgi.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_wsgi.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/pisa_wsgi.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/reportlab_paragraph.p
y
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/reportlab_paragraph.p
yc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/pisa3/reportlab_paragraph.p
yo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/w3c
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/w3c/__init__.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/w3c/__init__.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/w3c/__init__.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/w3c/css.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/w3c/css.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/w3c/css.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/w3c/cssDOMElementInterface.
py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/w3c/cssDOMElementInterface.
pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/w3c/cssDOMElementInterface.
pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/w3c/cssParser.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/w3c/cssParser.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/w3c/cssParser.pyo
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/w3c/cssSpecial.py
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/w3c/cssSpecial.pyc
lib/python2.6/site-packages/pisa-3.0.32-py2.6.egg/sx/w3c/cssSpecial.pyo

This appears to be a setuptools issue. 

Original issue reported on code.google.com by lapr...@gmail.com on 23 Apr 2010 at 8:16

GoogleCodeExporter commented 9 years ago
Some time ago Pisa AKA XHTML2PDF has been rereleased under the completely free 
Apache License. Since I personally don't have the time and resources to 
continue the project like before I would kindly ask you to fork the project on 
GitHub and add your patches etc. Maybe someone likes to create a new unified 
version and publish it on PyPI. If you need more help on this get in contact 
with me or write to the XHTML2PDF mailing list. Thank you all very much for 
your effort!

Project on GitHub:
http://github.com/holtwick/xhtml2pdf

Original comment by dirk.holtwick on 23 Aug 2010 at 5:27