You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.
What steps will reproduce the problem?
1. python setup.py sdist
2. copy tarball elsewhere
3. try and install via easy_install
What is the expected output? What do you see instead?
I copied the sdist to our webserver, and then try to install it:
easy_install --find-links http://ooici.net/packages gviz_api.py
Searching for gviz-api.py
Reading http://ooici.net/packages
Best match: gviz-api.py 1.7.0
Downloading http://ooici.net/packages/gviz_api.py-1.7.0.tar.gz
Processing gviz_api.py-1.7.0.tar.gz
Running gviz_api.py-1.7.0/setup.py -q bdist_egg --dist-dir
/var/folders/Sw/SwEOWKQ7FdihT03Yr5CBOU+++TI/-Tmp-/easy_install-IQGY_h/gviz_api.p
y-1.7.0/egg-dist-tmp-DH3Ktj
Traceback (most recent call last):
File "/Users/hubbard/code/ve/junk/bin/easy_install", line 8, in <module>
load_entry_point('setuptools==0.6c9', 'console_scripts', 'easy_install')()
File "/Users/hubbard/code/ve/junk/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 1671, in main
File "/Users/hubbard/code/ve/junk/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 1659, in with_ei_usage
File "/Users/hubbard/code/ve/junk/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 1675, in <lambda>
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 152, in setup
dist.run_commands()
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 975, in run_commands
self.run_command(cmd)
File "/System/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 995, in run_command
cmd_obj.run()
File "/Users/hubbard/code/ve/junk/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 211, in run
File "/Users/hubbard/code/ve/junk/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 446, in easy_install
File "/Users/hubbard/code/ve/junk/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 476, in install_item
File "/Users/hubbard/code/ve/junk/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 655, in install_eggs
File "/Users/hubbard/code/ve/junk/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 930, in build_and_install
File "/Users/hubbard/code/ve/junk/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/command/easy_install.py", line 919, in run_setup
File "/Users/hubbard/code/ve/junk/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py", line 27, in run_setup
File "/Users/hubbard/code/ve/junk/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py", line 63, in run
File "/Users/hubbard/code/ve/junk/lib/python2.6/site-packages/setuptools-0.6c9-py2.6.egg/setuptools/sandbox.py", line 29, in <lambda>
File "setup.py", line 23, in <module>
ImportError: No module named gviz_api_test
The fix:
- Add gviz_api_test.py to MANIFEST
- Change py_modules stanza in setup.py to:
py_modules=["gviz_api", 'gviz_api_test'],
Now works.
Original issue reported on code.google.com by phubb...@gmail.com on 18 Aug 2010 at 4:58
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
phubb...@gmail.com
on 18 Aug 2010 at 4:58The text was updated successfully, but these errors were encountered: