New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #30063 (closed defect: duplicate)

Opened 23 months ago

Last modified 23 months ago

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

Has duplicate #30064.

Duplicate of #29531.

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.