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

Conversation

Projects
None yet
2 participants
@dknecht
Contributor

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

Merge pull request #727 from dknecht/master
Don't install dependencies when using pip to download python packages

@jordansissel jordansissel merged commit 28c43ac into jordansissel:master Jul 10, 2014

@jordansissel

This comment has been minimized.

Owner

jordansissel commented Jul 10, 2014

Thank you much! :)

@jordansissel

This comment has been minimized.

Owner

jordansissel commented Jul 10, 2014

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

This comment has been minimized.

Owner

jordansissel commented Jul 10, 2014

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

@jordansissel

This comment has been minimized.

Owner

jordansissel commented Jul 10, 2014

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

jls
Merge pull request jordansissel#727 from dknecht/master
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

Merge pull request jordansissel#727 from dknecht/master
Don't install dependencies when using pip to download python packages

jordansissel added a commit that referenced this pull request Apr 24, 2015

Merge pull request #727 from dknecht/master
Don't install dependencies when using pip to download python packages

jordansissel added a commit that referenced this pull request Jun 20, 2016

Merge pull request #727 from dknecht/master
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