Cygwin環境にpythonbrewを導入した
読了まで:約3分
概要: pythonbrew を
三日前にperlbrew
のperlbrew
を
0. 参考
1. pythonbrew
の導入
$ cd ~/tmp/
$ curl -LO -k http://github.com/utahta/pythonbrew/raw/master/pythonbrew-install
ここで、pythonbrew
の
何時からcurl
でhttps
を-k
pythonbrew-install
のcurl
https
に
具体的には、pythonbrew-install
の line 60 の
code:_ STABLE_VERSION=
curl -sL https://github.com/utahta/pythonbrew/raw/master/stable-version.txt
と
STABLE_VERSION=`curl -sL -k https://github.com/utahta/pythonbrew/raw/master/stable-version.txt`
とします。
であとは、
$ chmod +x pythonbrew-install
$ ./pythonbrew-install
でpythonbrew
をperlbrew
の
$ source ~/.pythonbrew/etc/bashrc
してbashrc
になってますが、csh
cshrc
を
で、
2. pythonbrew
のちょっとした修正
本当はpythonbrew install 2.5.5
したいmake test
のtest_asynchat
が
で、pythonbrew
の
で、~/.pythonbrew/scripts/pythonbrew/installer.py
の line 226 の
code:_ else: s.check_call("make") s.check_call("make test")
の
else:
s.check_call("make")
# s.check_call("make test")
と
これで
3. pythonbrew
を使って python2.5.5 をインストール
んで、pythonbrew
をpythonbrew
をpython-2.5.5
を
何故python-2.5.5
なのか、と
と
$ pythonbrew install 2.5.5 --configure='--with-threads=no'
でREADME
threads
を
それで、
$ pythonbrew switch 2.5.5
してpython-2.5.5
が
4. 以上で終了です。
とpythonbrew
をpython-2.5.5
を
ちょっとpython-2.5.5
の
まあでも
とpythonbrew
の話でした。rvm
#FIXME