virtualenv: python-openidを導入

(openid)hdknr@debsq:~$ scp 192.168.2.201:python-openid-2.2.4.tar.gz .
hdknr@192.168.2.201’s password:
python-openid-2.2.4.tar.gz                                                  100%  400KB 399.6KB/s   00:00

(openid)hdknr@debsq:~$ tar xfz python-openid-2.2.4.tar.gz

(openid)hdknr@debsq:~$ cd python-openid-2.2.4/
(openid)hdknr@debsq:~/python-openid-2.2.4$ ls -al
合計 92
drwxr-xr-x 7 hdknr hdknr  4096 2009-04-23 08:14 .
drwxr-xr-x 6 hdknr hdknr  4096 2009-09-28 14:54 ..
-rw-r–r– 1 hdknr hdknr   514 2009-04-23 08:14 CHANGELOG
-rw-r–r– 1 hdknr hdknr 11358 2009-04-23 08:14 LICENSE
-rw-r–r– 1 hdknr hdknr   291 2009-04-23 08:14 MANIFEST.in
-rw-r–r– 1 hdknr hdknr  8116 2009-04-23 08:14 NEWS
-rw-r–r– 1 hdknr hdknr   183 2009-04-23 08:14 NOTICE
-rw-r–r– 1 hdknr hdknr  1281 2009-04-23 08:14 PKG-INFO
-rw-r–r– 1 hdknr hdknr  1720 2009-04-23 08:14 README
drwxr-xr-x 2 hdknr hdknr  4096 2009-04-23 08:14 admin
-rw-r–r– 1 hdknr hdknr  4370 2009-04-23 08:14 background-associations.txt
drwxr-xr-x 2 hdknr hdknr  4096 2009-04-23 08:14 contrib
drwxr-xr-x 2 hdknr hdknr 12288 2009-04-23 08:14 doc
drwxr-xr-x 3 hdknr hdknr  4096 2009-04-23 08:14 examples
drwxr-xr-x 8 hdknr hdknr  4096 2009-04-23 08:14 openid
-rw-r–r– 1 hdknr hdknr    43 2009-04-23 08:14 setup.cfg
-rw-r–r– 1 hdknr hdknr  1711 2009-04-23 08:14 setup.py
(openid)hdknr@debsq:~/python-openid-2.2.4$ python setup.py install
running install
running build
running build_py
creating build
creating build/lib
creating build/lib/openid
copying openid/extension.py -> build/lib/openid
copying openid/dh.py -> build/lib/openid
copying openid/association.py -> build/lib/openid
copying openid/urinorm.py -> build/lib/openid
copying openid/__init__.py -> build/lib/openid
copying openid/kvform.py -> build/lib/openid
copying openid/oidutil.py -> build/lib/openid
copying openid/fetchers.py -> build/lib/openid
copying openid/sreg.py -> build/lib/openid
copying openid/cryptutil.py -> build/lib/openid
copying openid/message.py -> build/lib/openid
creating build/lib/openid/consumer
copying openid/consumer/discover.py -> build/lib/openid/consumer
copying openid/consumer/html_parse.py -> build/lib/openid/consumer
copying openid/consumer/__init__.py -> build/lib/openid/consumer
copying openid/consumer/consumer.py -> build/lib/openid/consumer
creating build/lib/openid/server
copying openid/server/__init__.py -> build/lib/openid/server
copying openid/server/server.py -> build/lib/openid/server
copying openid/server/trustroot.py -> build/lib/openid/server
creating build/lib/openid/store
copying openid/store/filestore.py -> build/lib/openid/store
copying openid/store/__init__.py -> build/lib/openid/store
copying openid/store/interface.py -> build/lib/openid/store
copying openid/store/memstore.py -> build/lib/openid/store
copying openid/store/nonce.py -> build/lib/openid/store
copying openid/store/sqlstore.py -> build/lib/openid/store
creating build/lib/openid/yadis
copying openid/yadis/accept.py -> build/lib/openid/yadis
copying openid/yadis/constants.py -> build/lib/openid/yadis
copying openid/yadis/discover.py -> build/lib/openid/yadis
copying openid/yadis/manager.py -> build/lib/openid/yadis
copying openid/yadis/__init__.py -> build/lib/openid/yadis
copying openid/yadis/xri.py -> build/lib/openid/yadis
copying openid/yadis/etxrd.py -> build/lib/openid/yadis
copying openid/yadis/xrires.py -> build/lib/openid/yadis
copying openid/yadis/services.py -> build/lib/openid/yadis
copying openid/yadis/filters.py -> build/lib/openid/yadis
copying openid/yadis/parsehtml.py -> build/lib/openid/yadis
creating build/lib/openid/extensions
copying openid/extensions/__init__.py -> build/lib/openid/extensions
copying openid/extensions/sreg.py -> build/lib/openid/extensions
copying openid/extensions/ax.py -> build/lib/openid/extensions
creating build/lib/openid/extensions/draft
copying openid/extensions/draft/pape5.py -> build/lib/openid/extensions/draft
copying openid/extensions/draft/__init__.py -> build/lib/openid/extensions/draft
copying openid/extensions/draft/pape2.py -> build/lib/openid/extensions/draft
running install_lib
creating /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid
copying build/lib/openid/extension.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid
copying build/lib/openid/dh.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid
copying build/lib/openid/association.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid
copying build/lib/openid/urinorm.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid
copying build/lib/openid/__init__.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid
creating /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/consumer
copying build/lib/openid/consumer/discover.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/consumer
copying build/lib/openid/consumer/html_parse.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/consumer
copying build/lib/openid/consumer/__init__.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/consumer
copying build/lib/openid/consumer/consumer.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/consumer
copying build/lib/openid/kvform.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid
copying build/lib/openid/oidutil.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid
creating /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis
copying build/lib/openid/yadis/accept.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis
copying build/lib/openid/yadis/constants.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis
copying build/lib/openid/yadis/discover.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis
copying build/lib/openid/yadis/manager.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis
copying build/lib/openid/yadis/__init__.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis
copying build/lib/openid/yadis/xri.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis
copying build/lib/openid/yadis/etxrd.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis
copying build/lib/openid/yadis/xrires.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis
copying build/lib/openid/yadis/services.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis
copying build/lib/openid/yadis/filters.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis
copying build/lib/openid/yadis/parsehtml.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis
copying build/lib/openid/fetchers.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid
copying build/lib/openid/sreg.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid
copying build/lib/openid/cryptutil.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid
copying build/lib/openid/message.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid
creating /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/extensions
creating /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/extensions/draft
copying build/lib/openid/extensions/draft/pape5.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/extensions/draft
copying build/lib/openid/extensions/draft/__init__.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/extensions/draft
copying build/lib/openid/extensions/draft/pape2.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/extensions/draft
copying build/lib/openid/extensions/__init__.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/extensions
copying build/lib/openid/extensions/sreg.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/extensions
copying build/lib/openid/extensions/ax.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/extensions
creating /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/server
copying build/lib/openid/server/__init__.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/server
copying build/lib/openid/server/server.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/server
copying build/lib/openid/server/trustroot.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/server
creating /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/store
copying build/lib/openid/store/filestore.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/store
copying build/lib/openid/store/__init__.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/store
copying build/lib/openid/store/interface.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/store
copying build/lib/openid/store/memstore.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/store
copying build/lib/openid/store/nonce.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/store
copying build/lib/openid/store/sqlstore.py -> /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/store
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/extension.py to extension.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/dh.py to dh.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/association.py to association.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/urinorm.py to urinorm.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/__init__.py to __init__.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/consumer/discover.py to discover.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/consumer/html_parse.py to html_parse.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/consumer/__init__.py to __init__.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/consumer/consumer.py to consumer.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/kvform.py to kvform.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/oidutil.py to oidutil.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis/accept.py to accept.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis/constants.py to constants.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis/discover.py to discover.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis/manager.py to manager.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis/__init__.py to __init__.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis/xri.py to xri.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis/etxrd.py to etxrd.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis/xrires.py to xrires.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis/services.py to services.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis/filters.py to filters.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/yadis/parsehtml.py to parsehtml.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/fetchers.py to fetchers.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/sreg.py to sreg.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/cryptutil.py to cryptutil.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/message.py to message.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/extensions/draft/pape5.py to pape5.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/extensions/draft/__init__.py to __init__.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/extensions/draft/pape2.py to pape2.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/extensions/__init__.py to __init__.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/extensions/sreg.py to sreg.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/extensions/ax.py to ax.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/server/__init__.py to __init__.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/server/server.py to server.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/server/trustroot.py to trustroot.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/store/filestore.py to filestore.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/store/__init__.py to __init__.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/store/interface.py to interface.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/store/memstore.py to memstore.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/store/nonce.py to nonce.pyc
byte-compiling /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/store/sqlstore.py to sqlstore.pyc
running install_egg_info
Writing /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/python_openid-2.2.4.egg-info

(openid)hdknr@debsq:~$ easy_install-2.5 yolk
Searching for yolk
Reading http://pypi.python.org/simple/yolk/
Reading http://tools.assembla.com/yolk/
Best match: yolk 0.4.1
Downloading http://pypi.python.org/packages/source/y/yolk/yolk-0.4.1.tar.gz#md5=100b0f20aaf66aacd53987714cc91c3d
Processing yolk-0.4.1.tar.gz
Running yolk-0.4.1/setup.py -q bdist_egg –dist-dir /tmp/easy_install-4GCB56/yolk-0.4.1/egg-dist-tmp-6ZAPyU
zip_safe flag not set; analyzing archive contents…
Adding yolk 0.4.1 to easy-install.pth file
Installing yolk script to /home/hdknr/.virtualenvs/openid/bin

Installed /home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/yolk-0.4.1-py2.5.egg
Processing dependencies for yolk
Finished processing dependencies for yolk

(openid)hdknr@debsq:~$ yolk -l
Python          – 2.5.4        – active development (/usr/lib/python2.5/lib-dynload)
pip             – 0.3.1        – active development (/usr/lib/python2.5/site-packages)
python-openid   – 2.2.4        – active
reportbug       – 4.8          – active development (/usr/lib/pymodules/python2.5)
setuptools      – 0.6c9        – non-active development (/usr/lib/python2.5/site-packages)
setuptools      – 0.6c9        – non-active development (/usr/lib/python2.5/site-packages)
setuptools      – 0.6c9        – active
setuptools      – 0.6c9        – active
virtualenv      – 1.3.3        – active development (/usr/lib/python2.5/site-packages)
virtualenvwrapper – 1.20         – active development (/usr/lib/python2.5/site-packages/virtualenvwrapper-1.20-py2.5.egg)
wsgiref         – 0.1.2        – active development (/usr/lib/python2.5)
yolk            – 0.4.1        – active

Python 2.5.4 (r254:67916, Feb 17 2009, 20:16:45)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from openid import *
/home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/sreg.py:5:
DeprecationWarning: openid.sreg has moved to openid.extensions.sreg
  DeprecationWarning)
>>> dir()
[‘__builtins__’, ‘__doc__’, ‘__name__’, ‘association’, ‘consumer’, ‘cryptutil’,
‘dh’, ‘extension’, ‘extensions’, ‘fetchers’, ‘kvform’, ‘message’, ‘oidutil’,
‘server’, ‘sreg’, ‘store’, ‘urinorm’, ‘yadis’]
>>> dir(dh)
[‘DiffieHellman’, ‘__builtins__’, ‘__doc__’, ‘__file__’, ‘__name__’, ‘cryptutil’, ‘oidutil’, ‘strxor’]
>>> dh.__file__
‘/home/hdknr/.virtualenvs/openid/lib/python2.5/site-packages/openid/dh.pyc’

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

コメントを残す

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

WordPress.com ロゴ

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

Twitter 画像

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

Facebook の写真

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

Google+ フォト

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

%s と連携中