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

allow specifying path to python #38

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

allow specifying path to python #38

jordansissel opened this issue May 17, 2011 · 7 comments

Comments

@jordansissel
Copy link
Owner

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

@tabletcorry
Copy link
Contributor

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

@jordansissel
Copy link
Owner Author

Ahha, good call..

How about some flags like

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

?

@tabletcorry
Copy link
Contributor

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
Copy link
Owner Author

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
Copy link
Owner Author

#39 filed to track fpmrc.

@jordansissel
Copy link
Owner Author

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
Copy link
Owner Author

fpm 0.2.27

prof-milki pushed a commit to prof-milki/xpm that referenced this issue Dec 18, 2014
  --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
  --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
  --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
  --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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants