mirror of
https://github.com/kennethreitz-archive/python-build.git
synced 2026-06-05 23:30:18 +00:00
release 0.7.1
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
* 0.7.1
|
||||
- Enable parallel make option (--jobs).
|
||||
- The pythonbrew-install script accept Python-2.7.
|
||||
- Added -b option to symlink command.
|
||||
|
||||
* 0.7
|
||||
- Added symlink command.
|
||||
- Added --as option.
|
||||
|
||||
@@ -18,14 +18,14 @@ class ListCommand(Command):
|
||||
dest='all_versions',
|
||||
action='store_true',
|
||||
default=False,
|
||||
help='Show the all python versions'
|
||||
help='Show the all python versions.'
|
||||
)
|
||||
self.parser.add_option(
|
||||
'-k', '--known',
|
||||
dest='known',
|
||||
action='store_true',
|
||||
default=False,
|
||||
help='List the available latest python versions'
|
||||
help='List the available latest python versions.'
|
||||
)
|
||||
|
||||
def run_command(self, options, args):
|
||||
|
||||
@@ -18,14 +18,15 @@ class PyCommand(Command):
|
||||
dest="pythons",
|
||||
action="append",
|
||||
default=[],
|
||||
help="Using specified python versions."
|
||||
help="Use the specified python version.",
|
||||
metavar='VERSION'
|
||||
)
|
||||
self.parser.add_option(
|
||||
"-v", "--verbose",
|
||||
dest="verbose",
|
||||
action="store_true",
|
||||
default=False,
|
||||
help="Show python version."
|
||||
help="Show the running python version."
|
||||
)
|
||||
|
||||
def run_command(self, options, args):
|
||||
|
||||
@@ -6,7 +6,7 @@ from pythonbrew.util import Package, symlink, unlink
|
||||
class SymlinkCommand(Command):
|
||||
name = "symlink"
|
||||
usage = "%prog"
|
||||
summary = "Create/Remove a symbolic link to python"
|
||||
summary = "Create/Remove a symbolic link"
|
||||
|
||||
def __init__(self):
|
||||
super(SymlinkCommand, self).__init__()
|
||||
@@ -15,21 +15,22 @@ class SymlinkCommand(Command):
|
||||
dest="pythons",
|
||||
action="append",
|
||||
default=[],
|
||||
help="Use the specified python versions"
|
||||
help="Use the specified python version.",
|
||||
metavar='VERSION'
|
||||
)
|
||||
self.parser.add_option(
|
||||
"-r", "--remove",
|
||||
dest="remove",
|
||||
action="store_true",
|
||||
default=False,
|
||||
help="Remove the all symbolic link"
|
||||
help="Remove the all symbolic link."
|
||||
)
|
||||
self.parser.add_option(
|
||||
"-b", "--bin",
|
||||
dest="bin",
|
||||
action="append",
|
||||
default=[],
|
||||
help="Create a symbolic link to the specified script in bin directory"
|
||||
help="Create a symbolic link to the specified script name in bin directory."
|
||||
)
|
||||
|
||||
def run_command(self, options, args):
|
||||
|
||||
@@ -20,21 +20,21 @@ class UpdateCommand(Command):
|
||||
dest='head',
|
||||
action='store_true',
|
||||
default=False,
|
||||
help='Update the pythonbrew to the github version'
|
||||
help='Update the pythonbrew to the github version.'
|
||||
)
|
||||
self.parser.add_option(
|
||||
'--config',
|
||||
dest='config',
|
||||
action='store_true',
|
||||
default=False,
|
||||
help='Update config.cfg'
|
||||
help='Update config.cfg.'
|
||||
)
|
||||
self.parser.add_option(
|
||||
'-f', '--force',
|
||||
dest='force',
|
||||
action='store_true',
|
||||
default=False,
|
||||
help='Force update the pythonbrew'
|
||||
help='Force update the pythonbrew.'
|
||||
)
|
||||
|
||||
def run_command(self, options, args):
|
||||
|
||||
@@ -2,7 +2,7 @@ import os
|
||||
import re
|
||||
import ConfigParser
|
||||
|
||||
VERSION = "0.7"
|
||||
VERSION = "0.7.1"
|
||||
|
||||
if os.environ.has_key("PYTHONBREW_ROOT"):
|
||||
ROOT = os.environ["PYTHONBREW_ROOT"]
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
0.7
|
||||
0.7.1
|
||||
Reference in New Issue
Block a user