nuxeo / FunkLoad

Functional and load testing framework for web applications, written in Python
http://funkload.nuxeo.org/
GNU General Public License v2.0
381 stars 83 forks source link

funkload 1.15.0 package doesn't include ez_setup.py #8

Closed rafrombrc closed 13 years ago

rafrombrc commented 13 years ago

The ez_setup.py file seems to exist in the github repo, but not in the released packages. See traceback:

(funk)host-2-69:funk rob$ easy_install -f http://funkload.nuxeo.org/snapshots/ -U funkload install_dir /Users/rob/tmp/funk/lib/python2.7/site-packages/ Searching for funkload Reading http://funkload.nuxeo.org/snapshots/ Reading http://pypi.python.org/simple/funkload/ Reading http://funkload.nuxeo.org/ Best match: funkload 1.15.0 Downloading http://pypi.python.org/packages/source/f/funkload/funkload-1.15.0.tar.gz#md5=22748ba0b19907314b888ab4476eaf98 Processing funkload-1.15.0.tar.gz Running funkload-1.15.0/setup.py -q bdist_egg --dist-dir /var/folders/Yu/YuJ3Jx+HEVq8QNoeOZVryk+++TI/-Tmp-/easy_install-TeFoGb/funkload-1.15.0/egg-dist-tmp-EPXGlF Traceback (most recent call last): File "/Users/rob/tmp/funk/bin/easy_install", line 9, in load_entry_point('distribute==0.6.14', 'console_scripts', 'easy_install')() File "/Users/rob/tmp/funk/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 1855, in main with_ei_usage(lambda: File "/Users/rob/tmp/funk/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 1836, in with_ei_usage return f() File "/Users/rob/tmp/funk/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 1859, in distclass=DistributionWithoutHelpCommands, kw File "/opt/python/parts/opt/lib/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/opt/python/parts/opt/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/opt/python/parts/opt/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "/Users/rob/tmp/funk/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 342, in run self.easy_install(spec, not self.no_deps) File "/Users/rob/tmp/funk/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 582, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File "/Users/rob/tmp/funk/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 612, in install_item dists = self.install_eggs(spec, download, tmpdir) File "/Users/rob/tmp/funk/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 802, in install_eggs return self.build_and_install(setup_script, setup_base) File "/Users/rob/tmp/funk/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 1079, in build_and_install self.run_setup(setup_script, setup_base, args) File "/Users/rob/tmp/funk/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/command/easy_install.py", line 1068, in run_setup run_setup(setup_script, args) File "/Users/rob/tmp/funk/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/sandbox.py", line 29, in run_setup lambda: execfile( File "/Users/rob/tmp/funk/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/sandbox.py", line 70, in run return func() File "/Users/rob/tmp/funk/lib/python2.7/site-packages/distribute-0.6.14-py2.7.egg/setuptools/sandbox.py", line 31, in {'file':setup_script, 'name':'main**'} File "setup.py", line 24, in ImportError: No module named ez_setup

bdelbosc commented 13 years ago

Upgrading ez_setup to 0.6c11, fixing python2.7 troubles. Closed by b920b6c186ca0a0e6eefc643f1c13a7c1319a41f. Closed by b920b6c186ca0a0e6eefc643f1c13a7c1319a41f.

bdelbosc commented 13 years ago

Hi

Can you try the latest snapshot, it should be fixed. sudo easy_install -f http://funkload.nuxeo.org/snapshots/ -U funkload

Thanks for reporting the problem

ben

drzewko commented 13 years ago

ez_setup.py is still missing from funkload-1.16.0a-20110502.tar.gz This makes distributed sandbox preparation fail. Manually adding ez_setup.py to the archive fixes the problem.

amcfague commented 13 years ago

This occurs because setup.py:L40 is searching for packages in src only. My recommendation is to either:

Personally, I favour the second option, because I feel that the base of the repository should contain the package, but that is entirely my preference.

bdelbosc commented 13 years ago

Hi

You 're right, the source package is wrong.

The regression happens since the git switch, by default setuptools is building the MANIFEST using files managed by CVS or Subversion, to make it work properly with git I need to install the setuptools-git plugin.

The latest snapshot is done this way and is available here: http://funkload.nuxeo.org/snapshots/

Thanks !

ben