iElectric/g-pypi — Issue #4: cannot import name __version__
Author: weedy
Created: 2012-01-27 05:11:24+00:00
State: open

g-pypi # /usr/bin/gpypi create --overlay local g-pypi2
Traceback (most recent call last):
File "/usr/bin/gpypi", line 9, in
load_entry_point('g-pypi==0.1dev', 'console_scripts', 'gpypi')()
File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 338, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 2280, in load_entry_point
return ep.load()
File "/usr/lib64/python2.7/site-packages/pkg_resources.py", line 1990, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib64/python2.7/site-packages/g_pypi-0.1dev-py2.7.egg/gpypi/cli.py", line 20, in
from gpypi import __version__
ImportError: cannot import name __version__