Ticket #30063 (closed defect: duplicate)
python select
| Reported by: | oldmilwaukee33@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.2 |
| Keywords: | Cc: | ||
| Port: |
Description
What are the new commands & or equivalents of:
python_select -L (shows available python versions)
python_select -s (sets the default version of your choice of python)
Change History
comment:1 Changed 23 months ago by ryandesign@…
- Status changed from new to closed
- Resolution set to duplicate
comment:2 Changed 23 months ago by ryandesign@…
$ port help select
Usage: select --list --set --show <arguments>
Select between multiple versions of a versioned port
This allows you to choose which version, among several installed versions
of a port, is to be considered primary. What this means is which version
becomes the one most would consider the default, e.g. the one run without
specifying any version.
One example is the set of python ports, where there are (among others)
python25, python26, and python30. The select action lets you set which
of these becomes the version run when you simply use 'python'.
<arguments> must include the group upon which to be acted, and may include
a version if --set is used.
--list List available versions for the group
--set Select the given version for the group
--show Show which version is currently selected for the group (default if
none given)
Note: See
TracTickets for help on using
tickets.


Has duplicate #30064.
Duplicate of #29531.