読者です 読者をやめる 読者になる 読者になる

Python easy_install を Windows マシンへインストールする

取り急ぎメモだけ

setuptools 0.6c11 : Python Package Index
http://pypi.python.org/pypi/setuptools

[c:feedparser-5.1.2]
$ python setup.py install
Traceback (most recent call last):
  File "setup.py", line 1, in <module>
    from setuptools import setup
ImportError: No module named setuptools
[c:feedparser-5.1.2]
$ cd ..
[c:Downloads]
$ python ez_setup.py
Downloading http://pypi.python.org/packages/2.7/s/setuptools/setuptools-0.6c11-py2.7.egg
Processing setuptools-0.6c11-py2.7.egg
Copying setuptools-0.6c11-py2.7.egg to c:\python27\lib\site-packages
Adding setuptools 0.6c11 to easy-install.pth file
Installing easy_install-script.py script to C:\Python27\Scripts
Installing easy_install.exe script to C:\Python27\Scripts
Installing easy_install.exe.manifest script to C:\Python27\Scripts
Installing easy_install-2.7-script.py script to C:\Python27\Scripts
Installing easy_install-2.7.exe script to C:\Python27\Scripts
Installing easy_install-2.7.exe.manifest script to C:\Python27\Scripts


Installed c:\python27\lib\site-packages\setuptools-0.6c11-py2.7.egg
Processing dependencies for setuptools==0.6c11
Finished processing dependencies for setuptools==0.6c11

feedparser のインストール

[c:Downloads]
$ cd feedparser-5.1.2/
[c:feedparser-5.1.2]
$ python setup.py install
running install
running bdist_egg
running egg_info
writing feedparser\feedparser.egg-info\PKG-INFO
writing top-level names to feedparser\feedparser.egg-info\top_level.txt
writing dependency_links to feedparser\feedparser.egg-info\dependency_links.txt
reading manifest file 'feedparser\feedparser.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'feedparser\feedparser.egg-info\SOURCES.txt'
installing library code to build\bdist.win32\egg
running install_lib
running build_py
creating build
creating build\lib
copying feedparser\feedparser.py -> build\lib
creating build\bdist.win32
creating build\bdist.win32\egg
copying build\lib\feedparser.py -> build\bdist.win32\egg
byte-compiling build\bdist.win32\egg\feedparser.py to feedparser.pyc
creating build\bdist.win32\egg\EGG-INFO
copying feedparser\feedparser.egg-info\PKG-INFO -> build\bdist.win32\egg\EGG-INFO
copying feedparser\feedparser.egg-info\SOURCES.txt -> build\bdist.win32\egg\EGG-INFO
copying feedparser\feedparser.egg-info\dependency_links.txt -> build\bdist.win32\egg\EGG-INFO
copying feedparser\feedparser.egg-info\top_level.txt -> build\bdist.win32\egg\EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist\feedparser-5.1.2-py2.7.egg' and adding 'build\bdist.win32\egg' to it
removing 'build\bdist.win32\egg' (and everything under it)
Processing feedparser-5.1.2-py2.7.egg
Copying feedparser-5.1.2-py2.7.egg to c:\python27\lib\site-packages
Adding feedparser 5.1.2 to easy-install.pth file

Installed c:\python27\lib\site-packages\feedparser-5.1.2-py2.7.egg
Processing dependencies for feedparser==5.1.2
Finished processing dependencies for feedparser==5.1.2