Issue 115 in python-graph: Missing __init__.py in dist-packages/pygraph

18 views
Skip to first unread message

python...@googlecode.com

unread,
May 17, 2013, 3:04:11 AM5/17/13
to python...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 115 by julia.si...@biicode.com: Missing __init__.py in
dist-packages/pygraph
http://code.google.com/p/python-graph/issues/detail?id=115

What steps will reproduce the problem?
1. Try to install python graph with pip (it fails due to missing setup.py)
2. Go to downloaded sources /core and sudo python install.py
3. /usr/local/lib/python2.7/dist-packages/pygraph# ls
algorithms classes mixins readwrite

What is the expected output?
/usr/local/lib/python2.7/dist-packages/pygraph# ls
algorithms classes mixins readwrite __init__.py __init__.pyc


What version of the product are you using? Happens in linux, windows and
macos


That makes pyinstaller fail when executing generated packages that use
pygraph-core

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

python...@googlecode.com

unread,
May 18, 2013, 6:20:28 PM5/18/13
to python...@googlegroups.com

Comment #1 on issue 115 by pmatiello: Missing __init__.py in
dist-packages/pygraph
http://code.google.com/p/python-graph/issues/detail?id=115

Hello, Julia. I've just made a test and both python-graph-core and
python-graph-dot installed without issues with pip. Can you provide more
information? What exact command line are you using to install python-graph?

python...@googlecode.com

unread,
May 20, 2013, 3:55:33 AM5/20/13
to python...@googlegroups.com

Comment #2 on issue 115 by julia.si...@biicode.com: Missing __init__.py in
dist-packages/pygraph
http://code.google.com/p/python-graph/issues/detail?id=115

*$ sudo pip install python-graph*
Password:
Downloading/unpacking python-graph
Downloading python-graph-1.8.2.zip (341kB): 341kB downloaded
Running setup.py egg_info for package python-graph
Traceback (most recent call last):
File "<string>", line 16, in <module>
IOError: [Errno 2] *No such file or directory:
'/tmp/pip-build/python-graph/setup.py'*
Complete output from command python setup.py egg_info:
Traceback (most recent call last):

File "<string>", line 16, in <module>

IOError: [Errno 2] No such file or directory:
'/tmp/pip-build/python-graph/setup.py'

*$ ls /tmp/pip-build/python-graph/*
__MACOSX pip-egg-info python-graph

python...@googlecode.com

unread,
May 20, 2013, 6:52:23 AM5/20/13
to python...@googlegroups.com

Comment #3 on issue 115 by pmatiello: Missing __init__.py in
dist-packages/pygraph
http://code.google.com/p/python-graph/issues/detail?id=115

Please try installing the package python-graph-core. Something like the
line below should work:

$ sudo pip install python-graph-core

python...@googlecode.com

unread,
May 20, 2013, 6:53:23 AM5/20/13
to python...@googlegroups.com
Updates:
Status: Invalid

Comment #4 on issue 115 by pmatiello: Missing __init__.py in
dist-packages/pygraph
http://code.google.com/p/python-graph/issues/detail?id=115

(No comment was entered for this change.)

python...@googlecode.com

unread,
May 21, 2013, 3:45:06 AM5/21/13
to python...@googlegroups.com

Comment #5 on issue 115 by julia.si...@biicode.com: Missing __init__.py in
dist-packages/pygraph
http://code.google.com/p/python-graph/issues/detail?id=115

$ *sudo pip install python-graph-core*
Downloading/unpacking python-graph-core
Downloading python-graph-core-1.8.2.tar.gz
Running setup.py egg_info for package python-graph-core

Installing collected packages: python-graph-core
Running setup.py install for python-graph-core
*Skipping installation of
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygraph/__init__.py
(namespace package)*

Installing
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/python_graph_core-1.8.2-py2.7-nspkg.pth
Successfully installed python-graph-core
Cleaning up...

$ ls
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/pygraph/
algorithms classes mixins readwrite

(no __init__.py there)
Reply all
Reply to author
Forward
0 new messages