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

Add option to overide python interpreter in installed scripts #628

Merged

Conversation

@vrutsky
Copy link
Contributor

vrutsky commented Jan 31, 2014

Allows to do
python setup.py install build_scripts --executable PYTHON_EXECUTABLE

This will result in setting PYTHON_EXECUTABLE in shebang of installed python scripts.

Allows to do
python setup.py install build_scripts --executable PYTHON_EXECUTABLE
@jordansissel

This comment has been minimized.

Copy link
Owner

jordansissel commented Mar 7, 2014

Would you mind writing a test for this, if possible?

@jordansissel

This comment has been minimized.

Copy link
Owner

jordansissel commented Mar 7, 2014

Confirmed works:

% bin/fpm -fs python -t deb --python-scripts-executable fancypants django
Force flag given. Overwriting package at python-django_1.6.2_all.deb {:level=>:warn}
Created deb package {:path=>"python-django_1.6.2_all.deb"}
% ar p python-django_1.6.2_all.deb data.tar.gz | tar -zxO ./usr/local/bin/django-admin.py | head -1
#!fancypants
jordansissel added a commit that referenced this pull request Mar 7, 2014
Add option to overide python interpreter in installed scripts
@jordansissel jordansissel merged commit 86a9611 into jordansissel:master Mar 7, 2014
jordansissel added a commit that referenced this pull request Mar 7, 2014
jordansissel added a commit that referenced this pull request Mar 7, 2014
@jordansissel

This comment has been minimized.

Copy link
Owner

jordansissel commented Mar 7, 2014

Added a test

prof-milki pushed a commit to prof-milki/xpm that referenced this pull request Dec 18, 2014
…table

Add option to overide python interpreter in installed scripts
prof-milki pushed a commit to prof-milki/xpm that referenced this pull request Dec 18, 2014
prof-milki pushed a commit to prof-milki/xpm that referenced this pull request Dec 27, 2014
…table

Add option to overide python interpreter in installed scripts
prof-milki pushed a commit to prof-milki/xpm that referenced this pull request Dec 27, 2014
jordansissel added a commit that referenced this pull request Apr 24, 2015
Add option to overide python interpreter in installed scripts
jordansissel added a commit that referenced this pull request Apr 24, 2015
jordansissel added a commit that referenced this pull request Jun 20, 2016
Add option to overide python interpreter in installed scripts
jordansissel added a commit that referenced this pull request Jun 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.