Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

generated sdist crashes with easy_install #3

Closed
paranoidi opened this issue Dec 17, 2010 · 3 comments
Closed

generated sdist crashes with easy_install #3

paranoidi opened this issue Dec 17, 2010 · 3 comments
Labels

Comments

@paranoidi
Copy link

How to replicate:

  1. create virtualenv
  2. bin/easy_install http://download.flexget.com/unstable/FlexGet-1.0r1424.tar.gz

It will fail because easy_install will essentially run setup.py bdist_egg after extracting tar.gz and this seems to be same as bdist_egg task in pavement to my surprise.

In that task it will try to do something that does not work correctly in tar.gz context.

Workaround I applied few months ago:

http://flexget.com/changeset?reponame=&old=1533%40trunk%2Fpavement.py&new=1531%40trunk%2Fpavement.py

I think the reason was minilib task, which was not even needed at that time.

Anyway, would be nice to get a proper fix for this. I can test if needed ...

@Almad
Copy link
Member

Almad commented Dec 19, 2010

Continuing debugging from http://code.google.com/p/paver/issues/detail?id=49

I am able to reproduce the issue old flexget build that you described. However, when trying to use SVN, everything works fine:

  • create virtualenv
  • svn co flexget
  • pip install Paver
  • edit pavement.py in flexget and delete bdist_egg task
  • paver sdist
  • pip uninstall Paver
  • easy_install easy_install flexget-dev/dist/FlexGet-1.0r1828.tar.gz
  • happy panda

Can You please verify it works for You this way? If it would be case of old paver...;)

@paranoidi
Copy link
Author

This seems to work!

I'm thinking it might have happened because I had

@needs(["minilib", "generate_setup", "setuptools.command.bdist_egg"])

in my bdist_egg task as instructed somewhere earlier.

But it definitely works now without declaring bdist_egg at all.

@Almad
Copy link
Member

Almad commented Dec 20, 2010

Cool :)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants