소스 검색

Merge branch 'preparing-removal-of-pyenv-version-ext'

pull/37/head
Yamashita Yuu 11 년 전
부모
커밋
499edda1d7
5개의 변경된 파일19개의 추가작업 그리고 4개의 파일을 삭제
  1. +1
    -1
      plugins/.gitignore
  2. +14
    -3
      plugins/version-ext-compat/README.md
  3. +2
    -0
      plugins/version-ext-compat/bin/pyenv-sh-pop
  4. +2
    -0
      plugins/version-ext-compat/bin/pyenv-sh-push
  5. +0
    -0
      plugins/version-ext-compat/install.sh

+ 1
- 1
plugins/.gitignore 파일 보기

@ -1,4 +1,4 @@
/*
!/.gitignore
!/pyenv-version-ext
!/version-ext-compat
!/python-build

plugins/pyenv-version-ext/README.md → plugins/version-ext-compat/README.md 파일 보기

@ -4,13 +4,24 @@ pyenv-version-ext is a [pyenv](https://github.com/yyuu/pyenv) plugin
that provides a `pyenv push` and `pyenv pop` commands to manage Python
versions.
(NOTICE:
This project has been moved out as external plugin of pyenv.
The version-ext-compat has left for backward compatibility, but will be removed from future release of pyenv.
See also [pyenv-version-ext](https://github.com/yyuu/pyenv-version-ext).)
## Installation
### Installing as an pyenv plugin (recommended)
### Installing as an pyenv plugin
Installing pyenv-version-ext as a pyenv plugin will give you access to the
`pyenv push` and `pyenv pop` commands.
You need nothing to do since python-build is bundled with pyenv by
default.
$ git clone git://github.com/yyuu/pyenv-version-ext.git ~/.pyenv/plugins/pyenv-version-ext
This will install the latest development version of pyenv-version-ext into
the `~/.pyenv/plugins/pyenv-version-ext` directory. From that directory, you
can check out a specific release tag. To update pyenv-version-ext, run `git
pull` to download the latest changes.
## Usage

plugins/pyenv-version-ext/bin/pyenv-sh-pop → plugins/version-ext-compat/bin/pyenv-sh-pop 파일 보기

@ -5,6 +5,8 @@ set -e
IFS=: versions=($(pyenv-version-name))
echo "WARNING: The \`pop' command will be removed from pyenv. Please install https://github.com/yyuu/pyenv-version-ext." 1>&2
length="${#versions[@]}"
PYENV_VERSION_NAMES=()
for ((i=0; i<length-1; i++)); do

plugins/pyenv-version-ext/bin/pyenv-sh-push → plugins/version-ext-compat/bin/pyenv-sh-push 파일 보기

@ -7,6 +7,8 @@ IFS=: PYENV_VERSION_NAMES=($(pyenv-version-name))
versions=("$@")
PYENV_VERSION_NAMES=("${PYENV_VERSION_NAMES[@]}" "${versions[@]}")
echo "WARNING: The \`push' command will be removed from pyenv. Please install https://github.com/yyuu/pyenv-version-ext." 1>&2
if [ -n "$PYENV_VERSION" ]; then
IFS=: PYENV_VERSION="${PYENV_VERSION_NAMES[*]}"
echo "export PYENV_VERSION=\"${PYENV_VERSION}\""

plugins/pyenv-version-ext/install.sh → plugins/version-ext-compat/install.sh 파일 보기


불러오는 중...
취소
저장