Skip to main content

A tool to set current Python version (currently MacOSX only)

Project description

pythonselect

pythonselect is a MacOSX tool to set current Python version. If you have multiple Python versions installed - say, 2.6, 2.7 and 3.1 - then running the following will set Python 2.7 to be your current Python:

$ sudo pythonselect 2.7

pythonselect does this by creating appropriate symlinks in /usr/local/bin targetting the necessary binaries in your non-system framework Python install.

Credits

pythonselect is based on Komodo’s internal set-curr-python.py.

Roadmap

Even though this tool is MacOSX-only at the moment, we plan to expand support for Windows and Linux.

News

1.1

  • Added arch-specific binaries on MacOSX (python-32, python-64, python-all)

  • Added 2to3 symlink

1.0

  • New: Accepts -h/-?/–help/help argument to print usage

1.0b3

  • New: Show list of installed Python versions without any argument

  • New: support for pypm, virtualenv, easy_install and pip

1.0b2

  • Fix: Prevent setup.py from running on non-MacOSX platforms

1.0b1

  • Initial import from Komodo source: mozilla/support/set-curr-python.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pythonselect-1.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page