Hi guys,
I'm new to PyInstaller and not the biggest python expert hope this still 
can work out for me ;)

I'm trying to package command line tool that uses 'load_entry_point' call. 
It took me some time to figure out it doesn't work since there are no 
import statements in script. 
Quick google brought me to this 
page: http://www.pyinstaller.org/wiki/Recipe/SetuptoolsEntryPoint
Trying to work by the example I hit a brick wall again (I'm trying to run 
this on pdftools.pdfposter module as in the example).

What I do:
1) Run 'pyi-makespec `which pdfposter`'
2) Edit spec file (I've attached my edited spec file)
3) Run pyinstaller <spec-file> 

I get:

$ dist/pdfposter/pdfposter
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named pdftools.pdfposter.cmd


pdftools module installed:
$ pip show pdftools.pdfposter
---
Name: pdftools.pdfposter
Version: 0.6.0
Location: /usr/local/lib/python2.7/dist-packages
Requires: pyPdf

I feel like the doc I hit on pyinstaller wiki is a bit outdated however I 
couldn't find anything in the manual 
at http://pythonhosted.org/PyInstaller/ that talks about load_entry_point.

I will be glad if someone could point me in the right direction here. 
Thank you.

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Attachment: pdfposter.spec
Description: Binary data

Reply via email to