25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
2.3 KiB

11 년 전
11 년 전
11 년 전
11 년 전
11 년 전
  1. # pyenv-version-ext
  2. pyenv-version-ext is a [pyenv](https://github.com/yyuu/pyenv) plugin
  3. that provides a `pyenv push` and `pyenv pop` commands to manage Python
  4. versions.
  5. (NOTICE:
  6. This project has been moved out as external plugin of pyenv.
  7. The version-ext-compat has left for backward compatibility, but will be removed from future release of pyenv.
  8. See also [pyenv-version-ext](https://github.com/yyuu/pyenv-version-ext).)
  9. ## Installation
  10. ### Installing as an pyenv plugin
  11. Installing pyenv-version-ext as a pyenv plugin will give you access to the
  12. `pyenv push` and `pyenv pop` commands.
  13. $ git clone git://github.com/yyuu/pyenv-version-ext.git ~/.pyenv/plugins/pyenv-version-ext
  14. This will install the latest development version of pyenv-version-ext into
  15. the `~/.pyenv/plugins/pyenv-version-ext` directory. From that directory, you
  16. can check out a specific release tag. To update pyenv-version-ext, run `git
  17. pull` to download the latest changes.
  18. ## Usage
  19. You can manage your version stack by `pyenv push` and `pyenv pop`.
  20. $ pyenv global
  21. 2.7.5
  22. 3.2.5
  23. $ pyenv push 3.3.2
  24. $ pyenv global
  25. 2.7.5
  26. 3.2.5
  27. 3.3.2
  28. $ pyenv pop
  29. 2.7.5
  30. 3.2.5
  31. The push/pop operation is also efective for local and shell versions.
  32. ### License
  33. (The MIT License)
  34. * Copyright (c) 2013 Yamashita, Yuu
  35. Permission is hereby granted, free of charge, to any person obtaining
  36. a copy of this software and associated documentation files (the
  37. "Software"), to deal in the Software without restriction, including
  38. without limitation the rights to use, copy, modify, merge, publish,
  39. distribute, sublicense, and/or sell copies of the Software, and to
  40. permit persons to whom the Software is furnished to do so, subject to
  41. the following conditions:
  42. The above copyright notice and this permission notice shall be
  43. included in all copies or substantial portions of the Software.
  44. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  45. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  46. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  47. NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  48. LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  49. OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  50. WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.