atompub : amplee install

hdknr@debiansept:~$ sudo apt-get install python2.5

(for uuid )

hdknr@debiansept:~$ sudo apt-get install python-setuptools

(for amara)

hdknr@debiansept:~$ easy_install-2.5 -U amara
Traceback (most recent call last):
  File "/usr/bin/easy_install-2.5", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

hdknr@debiansept:~$ sudo apt-get install python2.5-dev

おなじ

hdknr@debiansept:~$ python
Python 2.4.4 (#2, Apr 15 2008, 23:43:20)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pkg_resources
>>>
hdknr@debiansept:~$ python2.5
Python 2.5 (release25-maint, Jul 20 2008, 20:47:25)
[GCC 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pkg_resources
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named pkg_resources

hdknr@debiansept:/usr/lib/python2.4/site-packages$ ls  -l /usr/lib/python2.5/site-packages/
合計 4
-rw-r–r– 1 root root 119 2008-07-21 03:47 README
lrwxrwxrwx 1 root root  39 2008-08-29 02:00 python-support.pth -> /var/lib/python-support/python2.5/.path
hdknr@debiansept:/usr/lib/python2.4/site-packages$ ls  -l /usr/lib/python2.4/site-packages/
合計 228
-rw-r–r– 1 root root   119 2008-04-16 06:43 README
-rw-r–r– 1 root root 23968 2007-01-23 01:58 _snackmodule.so
-rw-r–r– 1 root root  5712 2008-03-13 19:32 debconf.py
-rw-r–r– 1 root root  5370 2008-08-29 02:01 debconf.pyc
lrwxrwxrwx 1 root root    68 2008-09-07 13:40 easy_install.py -> /usr/share/pycentral/python-setuptools/site-packages/easy_install.py
-rw-r–r– 1 root root   311 2008-09-07 13:40 easy_install.pyc
lrwxrwxrwx 1 root root    69 2008-09-07 13:40 pkg_resources.py -> /usr/share/pycentral/python-setuptools/site-packages/pkg_resources.py
-rw-r–r– 1 root root 82133 2008-09-07 13:40 pkg_resources.pyc
lrwxrwxrwx 1 root root    39 2008-08-29 02:00 python-support.pth -> /var/lib/python-support/python2.4/.path
drwxr-xr-x 4 root root  4096 2008-09-07 13:40 setuptools
drwxr-xr-x 2 root root  4096 2008-09-07 13:40 setuptools.egg-info
lrwxrwxrwx 1 root root    67 2008-09-07 13:40 setuptools.pth -> /usr/share/pycentral/python-setuptools/site-packages/setuptools.pth
lrwxrwxrwx 1 root root    60 2008-09-07 13:40 site.py -> /usr/share/pycentral/python-setuptools/site-packages/site.py
-rw-r–r– 1 root root  1804 2008-09-07 13:40 site.pyc
-rw-r–r– 1 root root 27989 2007-01-23 01:58 snack.py
-rw-r–r– 1 root root 34795 2008-08-29 02:01 snack.pyc

Python Package Index : setuptools 0.6c3 からソースインストールが必要ですよ。

hdknr@debiansept:~$ tar xvfz setuptools-0.6c3.tar.gz
hdknr@debiansept:~$ cd setuptools-0.6c3/
hdknr@debiansept:~/setuptools-0.6c3$ sudo python2.5 setup.py install

hdknr@debiansept:~$ sudo easy_install-2.5 -U amara
Searching for amara
Reading http://www.python.org/pypi/amara/
Couldn’t find index page for ‘amara’ (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://www.python.org/pypi/
interrupted
hdknr@debiansept:~$ sudo easy_install-2.5 -U amara
Searching for amara
Reading http://www.python.org/pypi/amara/
Couldn’t find index page for ‘amara’ (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://www.python.org/pypi/
Reading http://www.python.org/pypi/Amara/1.2.0.2
Reading http://uche.ogbuji.net/tech/4suite/amara/
Best match: Amara 1.2.0.2
Downloading http://pypi.python.org/packages/2.5/A/Amara/Amara-1.2.0.2-py2.5.egg#md5=3b70a72f23ea62a9a2fc7fb7b25340ac
Processing Amara-1.2.0.2-py2.5.egg
Moving Amara-1.2.0.2-py2.5.egg to /usr/lib/python2.5/site-packages
Adding Amara 1.2.0.2 to easy-install.pth file
Installing trimxml script to /usr/bin
Installing flextyper script to /usr/bin
Installing scimitar script to /usr/bin

Installed /usr/lib/python2.5/site-packages/Amara-1.2.0.2-py2.5.egg
Processing dependencies for amara
Searching for python-dateutil
Reading http://www.python.org/pypi/python-dateutil/
Reading http://labix.org/python-dateutil
Reading http://www.python.org/pypi/python-dateutil/1.4.1
Best match: python-dateutil 1.4.1
Downloading http://labix.org/download/python-dateutil/python-dateutil-1.4.1.tar.gz
Processing python-dateutil-1.4.1.tar.gz
Running python-dateutil-1.4.1/setup.py -q bdist_egg –dist-dir /tmp/easy_install-NbLjUk/python-dateutil-1.4.1/egg-dist-tmp-ygKCAQ
Adding python-dateutil 1.4.1 to easy-install.pth file

Installed /usr/lib/python2.5/site-packages/python_dateutil-1.4.1-py2.5.egg
Searching for 4Suite-XML>=1.0.2
Reading http://www.python.org/pypi/4Suite-XML/
Reading http://4suite.org/
Reading http://www.python.org/pypi/4Suite-XML/1.0.2
Best match: 4Suite-XML 1.0.2
Downloading http://pypi.python.org/packages/source/4/4Suite-XML/4Suite-XML-1.0.2.zip#md5=b5515baa72c1b88613af71d2af0a539a
Processing 4Suite-XML-1.0.2.zip
Running 4Suite-XML-1.0.2/setup.py -q bdist_egg –dist-dir /tmp/easy_install-RT6qmt/4Suite-XML-1.0.2/egg-dist-tmp-w1CQiV
Adding 4Suite-XML 1.0.2 to easy-install.pth file
Installing 4xslt script to /usr/bin
Installing 4xml script to /usr/bin
Installing 4xupdate script to /usr/bin
Installing 4xpath script to /usr/bin

hdknr@debiansept:~$ sudo easy_install-2.5 -U amplee
Searching for amplee
Reading http://www.python.org/pypi/amplee/
Reading http://trac.defuze.org/wiki/amplee
Reading http://www.defuze.org/oss/amplee/
Reading http://www.python.org/pypi/amplee/0.6.0
Best match: amplee 0.6.0
Downloading http://www.defuze.org/oss/amplee/amplee-0.6.0-py2.5.egg
Processing amplee-0.6.0-py2.5.egg
creating /usr/lib/python2.5/site-packages/amplee-0.6.0-py2.5.egg
Extracting amplee-0.6.0-py2.5.egg to /usr/lib/python2.5/site-packages
Adding amplee 0.6.0 to easy-install.pth file

Installed /usr/lib/python2.5/site-packages/amplee-0.6.0-py2.5.egg
Processing dependencies for amplee

カテゴリー: 未分類 パーマリンク

コメントを残す

以下に詳細を記入するか、アイコンをクリックしてログインしてください。

WordPress.com ロゴ

WordPress.com アカウントを使ってコメントしています。 ログアウト / 変更 )

Twitter 画像

Twitter アカウントを使ってコメントしています。 ログアウト / 変更 )

Facebook の写真

Facebook アカウントを使ってコメントしています。 ログアウト / 変更 )

Google+ フォト

Google+ アカウントを使ってコメントしています。 ログアウト / 変更 )

%s と連携中