Livingdeadの日記: Python 2.6 on Windows XP with setuptools
日記 by
Livingdead
眠い,死ぬほど眠い,っていうか死ぬ.
Windows XP SP3 環境で Python 2.5 + Eclipse Ganymede + PyDev
を使っていたけど,諸般の事情により Python 2.6 も併用
しなくてはならなくなった.しかし setuptools 0.6c9 の
Python 2.6 / Windows 用バイナリは提供されていないようだ.
1)まずは Python 2.6 をインストール
C:\Python26 以下にインストールされる
C:\Python25 とは共存できるようだ
2)setuptools-0.6c9 の tarball を持ってきて,
C:\Python26\python.exe setup bdist_wininst
これで Windows 用のバイナリが出来上がる
あとはそれをインストールするだけ.
自作のいくつかのエクステンションを Python 2.6 用に
再パッケージ.エクステンションをパッケージングするとき,
Python 2.5 の distutils は Visual C++ 2003 を探す.
Python 2.6 の distutils は Visual C++ 2008 を探す.
Visual C++ 2008 は Express Edition でもよい.
Python 3.0 だとまたいろいろと変更があるんだろうなぁ.
当分 Python 2.6 のままでいいや.
Python 2.6 on Windows XP with setuptools More ログイン