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

Don't install dependencies when using pip to download python packages #727

Merged
merged 1 commit into from Jul 10, 2014
Merged

Conversation

dknecht
Copy link
Contributor

@dknecht dknecht commented Jun 23, 2014

This will work now:

fpm -t deb --deb-user root --deb-group root -s python --debug --python-pip /usr/bin/pip --iteration 1 -v 1.0.0 elasticsearch

jordansissel added a commit that referenced this pull request Jul 10, 2014
Don't install dependencies when using pip to download python packages
@jordansissel jordansissel merged commit 28c43ac into jordansissel:master Jul 10, 2014
@jordansissel
Copy link
Owner

Thank you much! :)

@jordansissel
Copy link
Owner

After this patch, it fails for me:

Successfully downloaded elasticsearch {:level=>:info, :file=>"cabin/mixins/pipe.rb", :line=>"46"}
Could not find 'setup.py' {:path=>"/tmp/package-python-build20140710-23548-std9fv/elasticsearch/elasticsearch/setup.py", :level=>:error, :file=>"/home/jls/projects/fpm/lib/fpm/package/python.rb", :line=>"92"}

I tried with elasticsearch and django. Same results.

Seems like pip installs to another directory deeper? or something?

In the build directory I see django/django/django which is a bit odd ;)

@jordansissel
Copy link
Owner

Oh, I see. --no-install doesn't actually work anymore in pip.

@jordansissel
Copy link
Owner

I'll file a separate bug about this.

prof-milki pushed a commit to prof-milki/xpm that referenced this pull request Dec 18, 2014
Don't install dependencies when using pip to download python packages
prof-milki pushed a commit to prof-milki/xpm that referenced this pull request Dec 27, 2014
Don't install dependencies when using pip to download python packages
jordansissel added a commit that referenced this pull request Apr 24, 2015
Don't install dependencies when using pip to download python packages
jordansissel added a commit that referenced this pull request Jun 20, 2016
Don't install dependencies when using pip to download python packages
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants