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

allow specifying path to python #38

Closed
jordansissel opened this Issue May 17, 2011 · 7 comments

Comments

Projects
None yet
2 participants
@jordansissel
Owner

jordansissel commented May 17, 2011

Sometimes 'python' is the wrong python, maybe it's python27, or /opt/foo/bar/python3

@tabletcorry

This comment has been minimized.

Contributor

tabletcorry commented May 17, 2011

There are also different versions of easy_install for each installation. They need to be changed at the same time.

@jordansissel

This comment has been minimized.

Owner

jordansissel commented May 18, 2011

Ahha, good call..

How about some flags like

  • --python-bin=/path/to/python
  • --python-easyinstall-bin=/path-to-easy_install

?

@tabletcorry

This comment has been minimized.

Contributor

tabletcorry commented May 18, 2011

Should work... Though these seem like things more suited for an rc file, as they are likely to be relatively static things.

I would probably use the exact same settings during every run on a build server, as a for instance.

Course, you should still have command line options for the rc variables.

@jordansissel

This comment has been minimized.

Owner

jordansissel commented May 18, 2011

sounds good to me. I'll work on a .fpmrc (also a flag to let you specify path to one if you don't want the default of $HOME/.fpmrc)

@jordansissel

This comment has been minimized.

Owner

jordansissel commented May 18, 2011

#39 filed to track fpmrc.

@jordansissel

This comment has been minimized.

Owner

jordansissel commented May 18, 2011

change d37c5fc implements the flags:

    --python-bin PYTHON_BINARY_LOCATION
                                 (python source only) The path to the python you want to run. Default is 'python'
    --python-easyinstall EASY_INSTALL_PATH
                                 (python source only) The path to your easy_install tool. Default is 'easy_install'
@jordansissel

This comment has been minimized.

Owner

jordansissel commented May 18, 2011

fpm 0.2.27

prof-milki pushed a commit to prof-milki/xpm that referenced this issue Dec 18, 2014

jls
- Add new flags for the python source:
  --python-bin - path to the python binary you want to run
  --python-easyinstall - path to the easy_install script you want to use
  jordansissel#38

prof-milki pushed a commit to prof-milki/xpm that referenced this issue Dec 27, 2014

- Add new flags for the python source:
  --python-bin - path to the python binary you want to run
  --python-easyinstall - path to the easy_install script you want to use
  jordansissel#38

jordansissel added a commit that referenced this issue Apr 24, 2015

- Add new flags for the python source:
  --python-bin - path to the python binary you want to run
  --python-easyinstall - path to the easy_install script you want to use
  #38

jordansissel added a commit that referenced this issue Jun 20, 2016

- Add new flags for the python source:
  --python-bin - path to the python binary you want to run
  --python-easyinstall - path to the easy_install script you want to use
  #38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment