hdknr’s posterous

 
Filed under

virtualenv

 

pinax : moved to github & install procedure revised

(pinax)hdknr@deblen:~/.ve/pinax/src$ git clone   git://github.com/pinax/pinax.git
Initialized empty Git repository in /home/hdknr/.ve/pinax/src/pinax/.git/
remote: Counting objects: 25385, done.
remote: Compressing objects: 100% (9758/9758), done.
remote: Total 25385 (delta 14434), reused 24709 (delta 13796)
Receiving objects: 100% (25385/25385), 13.29 MiB | 470 KiB/s, done.
Resolving deltas: 100% (14434/14434), done.

(pinax)hdknr@deblen:~/.ve/pinax/src$ pip install -r pinax/requirements/external_apps.txt
Downloading/unpacking django-openid==0.2.0 (from -r pinax/requirements/external_apps.txt (line 42))
  Downloading django-openid-0.2.0.tar.gz (82Kb): 82Kb downloaded
  Running setup.py egg_info for package django-openid
Downloading/unpacking django-friends==0.1.4 (from -r pinax/requirements/external_apps.txt (line 23))
  Downloading django-friends-0.1.4.tar.gz
  Running setup.py egg_info for package django-friends
Downloading/unpacking vobject==0.8.1c (from -r pinax/requirements/libs.txt (line 16))
  Downloading vobject-0.8.1c.tar.gz (59Kb): 59Kb downloaded
  Running setup.py egg_info for package vobject
Downloading/unpacking django-photologue==2.3 (from -r pinax/requirements/external_apps.txt (line 37))
  Downloading django-photologue-2.3.tar.gz (51Kb): 51Kb downloaded
  Running setup.py egg_info for package django-photologue
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
Downloading/unpacking django-pagination==1.0.5.1 (from -r pinax/requirements/external_apps.txt (line 12))
  Downloading django-pagination-1.0.5.1.tar.gz
  Running setup.py egg_info for package django-pagination
Downloading/unpacking django-oembed==0.1.0 (from -r pinax/requirements/external_apps.txt (line 25))
  Downloading django-oembed-0.1.0.tar.gz
  Running setup.py egg_info for package django-oembed
Downloading/unpacking django-uni-form==0.6.0 (from -r pinax/requirements/external_apps.txt (line 17))
  Downloading django-uni-form-0.6.0.tar.gz
  Running setup.py egg_info for package django-uni-form
    zip_safe flag not set; analyzing archive contents...

        Installed /home/hdknr/.ve/pinax/build/django-uni-form/setuptools_git-0.3.4-py2.5.egg
Downloading/unpacking django-mailer==0.1.0 (from -r pinax/requirements/external_apps.txt (line 22))
  Downloading django-mailer-0.1.0.tar.gz
  Running setup.py egg_info for package django-mailer
Downloading/unpacking django-sorting>=0.1 (from -r pinax/requirements/external_apps.txt (line 43))
  Downloading django-sorting-0.1.tar.gz
  Running setup.py egg_info for package django-sorting
Downloading/unpacking django-robots==0.6.1 (from -r pinax/requirements/external_apps.txt (line 13))
  Downloading django-robots-0.6.1.tar.gz
  Running setup.py egg_info for package django-robots
Downloading/unpacking django-threadedcomments==0.5.1 (from -r pinax/requirements/external_apps.txt (line 15))
  Downloading django-threadedcomments-0.5.1.tar.gz
  Running setup.py egg_info for package django-threadedcomments
Downloading/unpacking django-avatar==1.0.3 (from -r pinax/requirements/external_apps.txt (line 9))
  Downloading django-avatar-1.0.3.tar.gz
  Running setup.py egg_info for package django-avatar
Downloading/unpacking django-tagging==0.3 (from -r pinax/requirements/external_apps.txt (line 38))
  Downloading django-tagging-0.3.tar.gz
  Running setup.py egg_info for package django-tagging
Downloading/unpacking sorl==3.1 (from -r pinax/requirements/external_apps.txt (line 33))
  Downloading sorl-3.1.tar.gz
  Running setup.py egg_info for package sorl
Downloading/unpacking django-db-log==1.0.1 (from -r pinax/requirements/external_apps.txt (line 28))
  Downloading django-db-log-1.0.1.tar.gz
  Running setup.py egg_info for package django-db-log
Downloading/unpacking gdata==1.3.3 (from -r pinax/requirements/libs.txt (line 8))
  Downloading gdata-1.3.3.zip (1.2Mb): 1.2Mb downloaded
  Running setup.py egg_info for package gdata
Downloading/unpacking django-gravatar==0.1.0 (from -r pinax/requirements/external_apps.txt (line 21))
  Downloading django-gravatar-0.1.0.tar.gz
  Running setup.py egg_info for package django-gravatar
Downloading/unpacking python-yadis==1.1.0 (from -r pinax/requirements/libs.txt (line 12))
  Downloading python-yadis-1.1.0.tar.gz (192Kb): 192Kb downloaded
  Running setup.py egg_info for package python-yadis
Downloading/unpacking django-filter==0.5.1 (from -r pinax/requirements/external_apps.txt (line 36))
  Downloading django-filter-0.5.1.tar.gz
  Running setup.py egg_info for package django-filter
    warning: no files found matching '*' under directory 'django_filters/fixtures'
    warning: no files found matching '*' under directory 'django_filters/tests/templates/django_filters'
Downloading/unpacking django-timezones==0.1.4 (from -r pinax/requirements/external_apps.txt (line 18))
  Downloading django-timezones-0.1.4.tar.gz
  Running setup.py egg_info for package django-timezones
Downloading/unpacking django-dbtemplates==0.5.8 (from -r pinax/requirements/external_apps.txt (line 10))
  Downloading django-dbtemplates-0.5.8.tar.gz
  Running setup.py egg_info for package django-dbtemplates
Downloading/unpacking BeautifulSoup==3.0.7a (from -r pinax/requirements/libs.txt (line 17))
  Downloading BeautifulSoup-3.0.7a.tar.gz
  Running setup.py egg_info for package BeautifulSoup
Downloading/unpacking django-announcements==0.1.0 (from -r pinax/requirements/external_apps.txt (line 8))
  Downloading django-announcements-0.1.0.tar.gz
  Running setup.py egg_info for package django-announcements
Downloading/unpacking textile==2.1.3 (from -r pinax/requirements/libs.txt (line 15))
  Downloading textile-2.1.3.tar.gz
  Running setup.py egg_info for package textile
Requirement already satisfied (use --upgrade to upgrade): docutils==0.5 in /usr/lib/python2.5/site-packages (from -r pinax/requirements/libs.txt (line 1))
Downloading/unpacking django-locations==0.1.1 (from -r pinax/requirements/external_apps.txt (line 24))
  Downloading django-locations-0.1.1.tar.gz
  Running setup.py egg_info for package django-locations
Downloading/unpacking django-markup==0.3 (from -r pinax/requirements/external_apps.txt (line 30))
  Downloading django-markup-0.3.tar.gz (92Kb): 92Kb downloaded
  Running setup.py egg_info for package django-markup
    no previously-included directories found matching 'docs/_build/*'
Downloading/unpacking django-atomformat==0.1.1dev (from -r pinax/requirements/libs.txt (line 23))
  Downloading django-atomformat-0.1.1dev.tar.gz
  Running setup.py egg_info for package django-atomformat
Downloading/unpacking django-swaps==0.5.3 (from -r pinax/requirements/external_apps.txt (line 26))
  Downloading django-swaps-0.5.3.tar.gz
  Running setup.py egg_info for package django-swaps
    warning: no files found matching 'CONTRIBUTORS.txt'
Downloading/unpacking geopy==0.93dev-r0 (from -r pinax/requirements/libs.txt (line 21))
  Downloading geopy-0.93dev-r0.tar.gz (68Kb): 68Kb downloaded
  Running setup.py egg_info for package geopy
Downloading/unpacking creole==1.0.1 (from -r pinax/requirements/libs.txt (line 24))
  Downloading creole-1.0.1.tar.gz
  Running setup.py egg_info for package creole
Downloading/unpacking django-ajax-validation==0.1.3 (from -r pinax/requirements/external_apps.txt (line 7))
  Downloading django-ajax-validation-0.1.3.tar.gz
  Running setup.py egg_info for package django-ajax-validation
    zip_safe flag not set; analyzing archive contents...

        Installed /home/hdknr/.ve/pinax/build/django-ajax-validation/setuptools_git-0.3.4-py2.5.egg
Downloading/unpacking django-wikiapp==0.2.0 (from -r pinax/requirements/external_apps.txt (line 32))
  Downloading django-wikiapp-0.2.0.tar.gz
  Running setup.py egg_info for package django-wikiapp
Downloading/unpacking simplejson==2.0.9 (from -r pinax/requirements/libs.txt (line 14))
  Downloading simplejson-2.0.9.tar.gz (115Kb): 115Kb downloaded
  Running setup.py egg_info for package simplejson
Downloading/unpacking django-notification==0.1.4 (from -r pinax/requirements/external_apps.txt (line 11))
  Downloading django-notification-0.1.4.tar.gz
  Running setup.py egg_info for package django-notification
Downloading/unpacking Django==1.0.4 (from -r pinax/requirements/libs.txt (line 18))
  Downloading Django-1.0.4.tar.gz (5.1Mb): 5.1Mb downloaded
  Running setup.py egg_info for package Django
Downloading/unpacking django-extensions==0.4.1 (from -r pinax/requirements/external_apps.txt (line 16))
  Downloading django-extensions-0.4.1.tar.gz (94Kb): 94Kb downloaded
  Running setup.py egg_info for package django-extensions
Downloading/unpacking pytz==2009l (from -r pinax/requirements/libs.txt (line 13))
  Downloading pytz-2009l.tar.bz2 (174Kb): 174Kb downloaded
  Running setup.py egg_info for package pytz
    warning: no files found matching '*.pot' under directory 'pytz'
    warning: no previously-included files found matching 'test_zdump.py'
Downloading/unpacking template-utils==0.4p2 (from -r pinax/requirements/external_apps.txt (line 44))
  Downloading template_utils-0.4p2.tar.gz
  Running setup.py egg_info for package template-utils
Downloading/unpacking python-dateutil>=1.1 (from -r pinax/requirements/libs.txt (line 6))
  Downloading python-dateutil-1.4.1.tar.gz (225Kb): 225Kb downloaded
  Running setup.py egg_info for package python-dateutil
Downloading/unpacking python-openid==2.2.4 (from -r pinax/requirements/libs.txt (line 10))
  Downloading python-openid-2.2.4.tar.gz (409Kb): 409Kb downloaded
  Running setup.py egg_info for package python-openid
Downloading/unpacking django-flag==0.1.1 (from -r pinax/requirements/external_apps.txt (line 27))
  Downloading django-flag-0.1.1.tar.gz
  Running setup.py egg_info for package django-flag
Downloading/unpacking diff-match-patch==20090804 (from -r pinax/requirements/libs.txt (line 22))
  Downloading diff-match-patch-20090804.tar.gz
  Running setup.py egg_info for package diff-match-patch
Downloading/unpacking django-frontendadmin==0.4 (from -r pinax/requirements/external_apps.txt (line 35))
  Downloading django-frontendadmin-0.4.tar.gz
  Running setup.py egg_info for package django-frontendadmin
Downloading/unpacking Markdown==2.0.1 (from -r pinax/requirements/libs.txt (line 19))
  Downloading Markdown-2.0.1.tar.gz (71Kb): 71Kb downloaded
  Running setup.py egg_info for package Markdown
Downloading/unpacking ybrowserauth==1.2 (from -r pinax/requirements/libs.txt (line 20))
  Downloading ybrowserauth-1.2.zip
  Running setup.py egg_info for package ybrowserauth
Downloading/unpacking django-voting==0.1-pre (from -r pinax/requirements/external_apps.txt (line 41))
  Downloading django-voting-0.1-pre.tar.gz
  Running setup.py egg_info for package django-voting
Downloading/unpacking django-bookmarks==0.1.0 (from -r pinax/requirements/external_apps.txt (line 19))
  Downloading django-bookmarks-0.1.0.tar.gz
  Running setup.py egg_info for package django-bookmarks
Downloading/unpacking django-email-confirmation==0.1.4 (from -r pinax/requirements/external_apps.txt (line 20))
  Downloading django-email-confirmation-0.1.4.tar.gz
  Running setup.py egg_info for package django-email-confirmation
Downloading/unpacking django-staticfiles==0.1.2 (from -r pinax/requirements/external_apps.txt (line 45))
  Downloading django-staticfiles-0.1.2.tar.gz
  Running setup.py egg_info for package django-staticfiles
Downloading/unpacking django-debug-toolbar==0.8.1 (from -r pinax/requirements/external_apps.txt (line 46))
  Downloading django-debug-toolbar-0.8.1.tar.gz (70Kb): 70Kb downloaded
  Running setup.py egg_info for package django-debug-toolbar
Downloading/unpacking python-twitter==0.6 (from -r pinax/requirements/libs.txt (line 11))
  Downloading python-twitter-0.6.tar.gz (81Kb): 81Kb downloaded
  Running setup.py egg_info for package python-twitter
Downloading/unpacking Pygments==1.0 (from -r pinax/requirements/libs.txt (line 9))
  Downloading Pygments-1.0.tar.gz (930Kb): 930Kb downloaded
  Running setup.py egg_info for package Pygments
Downloading/unpacking django-messages==0.4.2 (from -r pinax/requirements/external_apps.txt (line 14))
  Downloading django-messages-0.4.2.tar.gz
  Running setup.py egg_info for package django-messages
Downloading/unpacking django-generic-flatblocks==0.3.0 (from -r pinax/requirements/external_apps.txt (line 34))
  Downloading django-generic-flatblocks-0.3.0.zip
  Running setup.py egg_info for package django-generic-flatblocks
Downloading/unpacking django-microblogging==0.1.2 (from -r pinax/requirements/external_apps.txt (line 31))
  Downloading django-microblogging-0.1.2.tar.gz
  Running setup.py egg_info for package django-microblogging
Downloading/unpacking django-attachments==0.3 (from -r pinax/requirements/external_apps.txt (line 29))
  Downloading django-attachments-0.3.tar.gz (65Kb): 65Kb downloaded
  Running setup.py egg_info for package django-attachments
    warning: no files found matching '*' under directory 'attachments/fixtures'
Downloading/unpacking elementtree (from gdata==1.3.3->-r pinax/requirements/libs.txt (line 8))
  Downloading elementtree-1.2.7-20070827-preview.zip (64Kb): 64Kb downloaded
  Running setup.py egg_info for package elementtree
Requirement already satisfied (use --upgrade to upgrade): setuptools in /home/hdknr/.ve/pinax/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg (from python-twitter==0.6->-r pinax/requirements/libs.txt (line 11))
Installing collected packages: BeautifulSoup, creole, diff-match-patch, Django, django-ajax-validation, django-announcements, django-atomformat, django-attachments, django-avatar, django-bookmarks, django-db-log, django-dbtemplates, django-debug-toolbar, django-email-confirmation, django-extensions, django-filter, django-flag, django-friends, django-frontendadmin, django-generic-flatblocks, django-gravatar, django-locations, django-mailer, django-markup, django-messages, django-microblogging, django-notification, django-oembed, django-openid, django-pagination, django-photologue, django-robots, django-sorting, django-staticfiles, django-swaps, django-tagging, django-threadedcomments, django-timezones, django-uni-form, django-voting, django-wikiapp, elementtree, gdata, geopy, Markdown, Pygments, python-dateutil, python-openid, python-twitter, python-yadis, pytz, simplejson, sorl, template-utils, textile, vobject, ybrowserauth
  Found existing installation: BeautifulSoup 3.1.0.1
    Not uninstalling BeautifulSoup at /usr/lib/python2.5/site-packages/BeautifulSoup-3.1.0.1-py2.5.egg, outside environment /home/hdknr/.ve/pinax
  Running setup.py install for BeautifulSoup
  Running setup.py install for creole
    changing mode of build/scripts-2.5/creole2html.py from 644 to 755
    changing mode of /home/hdknr/.ve/pinax/bin/creole2html.py to 755
  Running setup.py install for diff-match-patch
  Found existing installation: Django 1.1.1
    Uninstalling Django:
      Successfully uninstalled Django
  Running setup.py install for Django
    changing mode of build/scripts-2.5/django-admin.py from 644 to 755
    changing mode of /home/hdknr/.ve/pinax/bin/django-admin.py to 755
  Running setup.py install for django-ajax-validation
  Running setup.py install for django-announcements
  Running setup.py install for django-atomformat
  Running setup.py install for django-attachments
    warning: no files found matching '*' under directory 'attachments/fixtures'
  Running setup.py install for django-avatar
  Running setup.py install for django-bookmarks
  Running setup.py install for django-db-log
  Running setup.py install for django-dbtemplates
  Found existing installation: django-debug-toolbar 0.7.0
    Not uninstalling django-debug-toolbar at /usr/lib/python2.5/site-packages/django_debug_toolbar-0.7.0-py2.5.egg, outside environment /home/hdknr/.ve/pinax
  Running setup.py install for django-debug-toolbar
  Running setup.py install for django-email-confirmation
  Running setup.py install for django-extensions
  Running setup.py install for django-filter
    warning: no files found matching '*' under directory 'django_filters/fixtures'
    warning: no files found matching '*' under directory 'django_filters/tests/templates/django_filters'
  Running setup.py install for django-flag
  Running setup.py install for django-friends
  Running setup.py install for django-frontendadmin
  Running setup.py install for django-generic-flatblocks
  Running setup.py install for django-gravatar
  Running setup.py install for django-locations
  Running setup.py install for django-mailer
  Running setup.py install for django-markup
    no previously-included directories found matching 'docs/_build/*'
  Running setup.py install for django-messages
  Running setup.py install for django-microblogging
  Running setup.py install for django-notification
  Running setup.py install for django-oembed
  Running setup.py install for django-openid
  Running setup.py install for django-pagination
  Running setup.py install for django-photologue
    warning: no previously-included files matching '*.pyc' found anywhere in distribution
  Running setup.py install for django-robots
  Running setup.py install for django-sorting
  Running setup.py install for django-staticfiles
  Running setup.py install for django-swaps
    warning: no files found matching 'CONTRIBUTORS.txt'
  Running setup.py install for django-tagging
  Running setup.py install for django-threadedcomments
  Running setup.py install for django-timezones
  Running setup.py install for django-uni-form
  Running setup.py install for django-voting
  Running setup.py install for django-wikiapp
  Running setup.py install for elementtree
  Running setup.py install for gdata
  Running setup.py install for geopy
  Running setup.py install for Markdown
    changing mode of build/scripts-2.5/markdown from 644 to 755
    changing mode of /home/hdknr/.ve/pinax/bin/markdown to 755
  Found existing installation: Pygments 0.10
    Not uninstalling Pygments at /var/lib/python-support/python2.5, outside environment /home/hdknr/.ve/pinax
  Running setup.py install for Pygments
    Installing pygmentize script to /home/hdknr/.ve/pinax/bin
  Running setup.py install for python-dateutil
  Running setup.py install for python-openid
  Running setup.py install for python-twitter
  Running setup.py install for python-yadis
  Running setup.py install for pytz
    warning: no files found matching '*.pot' under directory 'pytz'
    warning: no previously-included files found matching 'test_zdump.py'
  Running setup.py install for simplejson
    building 'simplejson._speedups' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.5 -c simplejson/_speedups.c -o build/temp.linux-i686-2.5/simplejson/_speedups.o
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-2.5/simplejson/_speedups.o -o build/lib.linux-i686-2.5/simplejson/_speedups.so
  Running setup.py install for sorl
  Running setup.py install for template-utils
  Running setup.py install for textile
  Running setup.py install for vobject
    Installing change_tz script to /home/hdknr/.ve/pinax/bin
    Installing ics_diff script to /home/hdknr/.ve/pinax/bin
  Running setup.py install for ybrowserauth
Successfully installed BeautifulSoup creole diff-match-patch Django django-ajax-validation django-announcements django-atomformat django-attachments django-avatar django-bookmarks django-db-log django-dbtemplates django-debug-toolbar django-email-confirmation django-extensions django-filter django-flag django-friends django-frontendadmin django-generic-flatblocks django-gravatar django-locations django-mailer django-markup django-messages django-microblogging django-notification django-oembed django-openid django-pagination django-photologue django-robots django-sorting django-staticfiles django-swaps django-tagging django-threadedcomments django-timezones django-uni-form django-voting django-wikiapp elementtree gdata geopy Markdown Pygments python-dateutil python-openid python-twitter python-yadis pytz simplejson sorl template-utils textile vobject ybrowserauth

(pinax)hdknr@deblen:~/.ve/pinax/src$ cd ..
(pinax)hdknr@deblen:~/.ve/pinax$ mkdir home
(pinax)hdknr@deblen:~/.ve/pinax$ cd home

virtualenv を作り直す。

(pinax)hdknr@deblen:~/.ve/pinax/home$ deactivate
hdknr@deblen:~/.ve/pinax/home$ python ../src/pinax/scripts/pinax-boot.py $WORKON_HOME/pinax
Overwriting /home/hdknr/.ve/pinax/lib/python2.5/site.py with new content
New python executable in /home/hdknr/.ve/pinax/bin/python
Overwriting /home/hdknr/.ve/pinax/lib/python2.5/distutils/__init__.py with new content
Installing setuptools........................done.
Overwriting /home/hdknr/.ve/pinax/bin/activate with new content
Installing setuptools-dummy 0.0.3
Installing setuptools-git 0.3.4
Installing Django 1.0.4
Cannot locate a VERSION file for release. You are likely not running from a release tarball. Perhaps you meant to use --development

hdknr@deblen:~/.ve/pinax/home$ python ../src/pinax/scripts/pinax-boot.py $WORKON_HOME/pinax --development
New python executable in /home/hdknr/.ve/pinax/bin/python
Installing setuptools.............done.
Installing setuptools-dummy 0.0.3
Installing setuptools-git 0.3.4
Installing Django 1.0.4
Going to setup a Pinax development environment.
Found Pinax in /home/hdknr/.ve/pinax/src/pinax. Updating
Already up-to-date.
  Installing Pinax
  Installing pinax-admin script to /home/hdknr/.ve/pinax/bin
Please follow the documentation to continue.

hdknr@deblen:~/.ve/pinax/home$ workon pinax

(pinax)hdknr@deblen:~/.ve/pinax/home$ pinax-admin clone_project -l | grep "project:"
social_project:
sample_group_project:
private_beta_project:
intranet_project:
basic_project:
code_project:
static_project:

(pinax)hdknr@deblen:~/.ve/pinax/home$ pinax-admin clone_project social_project mysite
Copying your project to its new location
Updating settings.py for your new project
Renaming and updating your deployment files
Finished cloning your project, now you may enjoy Pinax!

(pinax)hdknr@deblen:~/.ve/pinax/home/mysite$ echo "drop database mysite" | ~/bin/MySQL/q.sh -r mysql
SERVER=localhost DATABASE=mysql DBUSER=root DBPWD=hdknr

(pinax)hdknr@deblen:~/.ve/pinax/home/mysite$ ~/bin/MySQL/createdb.sh mysite
Distribution is Debian.
Apache is apache2.
SERVER=localhost DATABASE=mysite DBUSER=mysite DBPWD=mysite
mysite

(pinax)hdknr@deblen:~/.ve/pinax/home/mysite$ vi settings.py

(pinax)hdknr@deblen:~/.ve/pinax/home/mysite$ grep DATABASE settings.pyDATABASE_ENGINE = 'mysql'    # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'ado_mssql'.
DATABASE_NAME = 'mysite'       # Or path to database file if using sqlite3.
DATABASE_USER = 'mysite'             # Not used with sqlite3.
DATABASE_PASSWORD = 'mysite'         # Not used with sqlite3.
DATABASE_HOST = ''             # Set to empty string for localhost. Not used with sqlite3.
DATABASE_PORT = ''             # Set to empty string for default. Not used with sqlite3.

(pinax)hdknr@deblen:~/.ve/pinax/home/mysite$ python manage.py syncdb
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table notification_noticetype
Creating table notification_noticesetting
Creating table notification_notice
Creating table notification_noticequeuebatch
Creating table notification_observeditem
Creating table emailconfirmation_emailaddress
Creating table emailconfirmation_emailconfirmation
Creating table robots_url
Creating table robots_rule
Creating table friends_contact
Creating table friends_friendship
Creating table friends_joininvitation
Creating table friends_friendshipinvitation
Creating table friends_friendshipinvitationhistory
Creating table mailer_message
Creating table mailer_dontsendentry
Creating table mailer_messagelog
Creating table messages_message
Creating table announcements_announcement
Creating table oembed_providerrule
Creating table oembed_storedoembed
Creating table threadedcomments_threadedcomment
Creating table threadedcomments_freethreadedcomment
Creating table threadedcomments_testmodel
Creating table wiki_article
Creating table wiki_changeset
Creating table swaps_offer
Creating table swaps_swap
Creating table votes
Creating table tagging_tag
Creating table tagging_taggeditem
Creating table bookmarks_bookmark
Creating table bookmarks_bookmarkinstance
Creating table blog_post
Creating table photologue_gallery
Creating table photologue_galleryupload
Creating table photologue_photo
Creating table photologue_photoeffect
Creating table photologue_watermark
Creating table photologue_photosize
Creating table avatar_avatar
Creating table flag_flaggedcontent
Creating table flag_flaginstance
Creating table microblogging_tweet
Creating table microblogging_tweetinstance
Creating table microblogging_following
Creating table locations_location
Creating table profiles_profile
Creating table account_account
Creating table account_otherserviceinfo
Creating table account_passwordreset
Creating table signup_codes_signupcode
Creating table signup_codes_signupcoderesult
Creating table tribes_tribe
Creating table photos_photoset
Creating table photos_image
Creating table photos_pool
Creating table topics_topic
Creating table django_admin_log
Creating table djangodblog_errorbatch
Creating table djangodblog_error
Creating table django_openid_nonce
Creating table django_openid_association
Creating table django_openid_useropenidassociation

You just installed Django's auth system, which means you don't have any superusers defined.
Would you like to create one now? (yes/no): yes

Username (Leave blank to use 'hdknr'): hdknr
E-mail address: hdknr@hdknr.deb
Password:
Password (again):
Superuser created successfully.
Installing index for auth.Permission model
Installing index for auth.Message model
Installing index for notification.NoticeSetting model
Installing index for notification.Notice model
Installing index for notification.ObservedItem model
Installing index for emailconfirmation.EmailAddress model
Installing index for emailconfirmation.EmailConfirmation model
Installing index for friends.Contact model
Installing index for friends.Friendship model
Installing index for friends.JoinInvitation model
Installing index for friends.FriendshipInvitation model
Installing index for friends.FriendshipInvitationHistory model
Installing index for messages.Message model
Installing index for announcements.Announcement model
Installing index for threadedcomments.ThreadedComment model
Installing index for threadedcomments.FreeThreadedComment model
Installing index for wiki.Article model
Installing index for wiki.ChangeSet model
Installing index for swaps.Offer model
Installing index for swaps.Swap model
Installing index for voting.Vote model
Installing index for tagging.TaggedItem model
Installing index for bookmarks.Bookmark model
Installing index for bookmarks.BookmarkInstance model
Installing index for blog.Post model
Installing index for photologue.GalleryUpload model
Installing index for photologue.Photo model
Installing index for photologue.PhotoSize model
Installing index for avatar.Avatar model
Installing index for flag.FlaggedContent model
Installing index for flag.FlagInstance model
Installing index for microblogging.Tweet model
Installing index for microblogging.TweetInstance model
Installing index for microblogging.Following model
Installing index for locations.Location model
Installing index for account.OtherServiceInfo model
Installing index for account.PasswordReset model
Installing index for signup_codes.SignupCode model
Installing index for signup_codes.SignupCodeResult model
Installing index for tribes.Tribe model
Installing index for photos.Image model
Installing index for photos.Pool model
Installing index for topics.Topic model
Installing index for admin.LogEntry model
Installing index for djangodblog.ErrorBatch model
Installing index for djangodblog.Error model
Installing index for django_openid.UserOpenidAssociation model
Installing json fixture 'initial_data' from '/home/hdknr/.ve/pinax/lib/python2.5/site-packages/oembed/fixtures'.
Installing json fixture 'initial_data' from '/home/hdknr/.ve/pinax/src/pinax/pinax/apps/photos/fixtures'.
Installed 18 object(s) from 2 fixture(s)

(pinax)hdknr@deblen:~/.ve/pinax/home/mysite$ python manage.py runserver 0.0.0.0:8000
Validating models...
0 errors found

Django version 1.0.4, using settings 'mysite.settings'
Development server is running at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
Validating models...
0 errors found

Django version 1.0.4, using settings 'mysite.settings'
Development server is running at http://0.0.0.0:8000/
Quit the server with CONTROL-C.


Filed under  //   Django   github   pinax   virtualenv  

Comments [1]

MySQL-python : easy_install で入れたら libmysqlclient_r.so.15 が必要。(Squeeze)

imporError

(jail)hdknr@mailjail:~/.ve/jail/src/djpostfix/djpostfix$ python
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.
>>> import MySQLdb
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "__init__.py", line 19, in <module>

       File "/home/hdknr/.ve/jail/lib/python2.5/site-packages/MySQL_python-1.2.3c1-py2.5-linux-i686.egg/_mysql.py", line 7, in <module>
  File "/home/hdknr/.ve/jail/lib/python2.5/site-packages/MySQL_python-1.2.3c1-py2.5-linux-i686.egg/_mysql.py", line 6, in __bootstrap__
ImportError: libmysqlclient_r.so.15: cannot open shared object file: No such file or directory

削除

(jail)hdknr@mailjail:~/.ve/jail/lib/python2.5/site-packages$ rm MySQL_python-1.2.3c1-py2.5-linux-i686.egg

aptで入れなおす

(jail)hdknr@mailjail:~/.ve/jail/lib/python2.5/site-packages$ sudo aptitude install python-mysqldb
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています               
状態情報を読み取っています... 完了
拡張状態情報を読み込んでいます     
パッケージの状態を初期化しています... 完了
タスクの記述を読み込んでいます... 完了       
以下の新規パッケージがインストールされます:
  python-mysqldb
更新: 0 個、新規インストール: 1 個、削除: 0 個、保留: 0 個。
アーカイブ 94.8kB 中 0B を取得する必要があります。展開後に 336kB のディスク領域が新たに消費されます。
拡張状態情報を書き込んでいます... 完了
未選択パッケージ python-mysqldb を選択しています。
(データベースを読み込んでいます ... 現在 78680 個のファイルとディレクトリがインストールされています。)
(.../python-mysqldb_1.2.2-10_i386.deb から) python-mysqldb を展開しています...
python-mysqldb (1.2.2-10) を設定しています ...
python-support のトリガを処理しています ...
パッケージリストを読み込んでいます... 完了
依存関係ツリーを作成しています               
状態情報を読み取っています... 完了
拡張状態情報を読み込んでいます     
パッケージの状態を初期化しています... 完了
拡張状態情報を書き込んでいます... 完了       
タスクの記述を読み込んでいます... 完了 

OK

(jail)hdknr@mailjail:~$ python
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.
>>> import MySQLdb
>>>
(jail)hdknr@mailjail:~$

(jail)hdknr@mailjail:~$ pip install MySQL-python
Requirement already satisfied: MySQL-python in /usr/lib/pymodules/python2.5
Installing collected packages: MySQL-python
Successfully installed MySQL-python

Filed under  //   easy_install   MySQL   pip   Python   virtualenv  

Comments [0]

pip — pip v0.5.1 documentation

Using pip With virtualenv

pip is most nutritious when used with virtualenv. One of the reasons pip doesn’t install “multi-version” eggs is that virtualenv removes much of the need for it.

pip does not have to be installed to use it, you can run python path/to/pip.py and it will work. This is intended to avoid the bootstrapping problem of installation. You can also run pip inside any virtualenv environment, like:

$ virtualenv new-env/
... creates new-env/ ...
$ pip install -E new-env/ MyPackage

This is exactly equivalent to:

$ ./new-env/bin/python path/to/pip.py install MyPackage

Except, if you have virtualenv installed and the path new-env/ doesn’t exist, then a new virtualenv will be created.

Using pip with buildout

If you are using zc.buildout you should look at gp.recipe.pip as an option to use pip and virtualenv in your buildouts.

Using pip with virtualenvwrapper

If you are using virtualenvwrapper, you might want pip to automatically create its virtualenvs in your $WORKON_HOME.

You can tell pip to do so by defining PIP_VIRTUALENV_BASE in your environment and setting it to the same value as that of $WORKON_HOME.

Do so by adding the line:

export PIP_VIRTUALENV_BASE=$WORKON_HOME

in your .bashrc under the line starting with export WORKON_HOME.

必須。

Filed under  //   pip   Python   virtualenv  

Comments [0]

Ian's Blog - Ian Lewis

pip が助かる

easy_install が簡単すぎて、分けわかんないメッセージも出したりして、virtualenvと相性悪くて、何とかできませんか?って話があったきかっけ、pipが生まれた。pipをインストールすればvirtualenvにすいすいとパッケージをインストールできる。virtualenvを使っている間にインストールする。

wget http://pypi.python.org/packages/source/p/pip/pip-0.4.tar.gz
tar xzf pip-0.4.tar.gz
cd pip-0.4
python setup.py install

Update: pipはちゃんと、virtualenvに入ってくれるので、easy_install でもインストールできる。

workon myproject
easy_install pip

これで、pip が仮想環境にインストールする。これから、pip install で仮想環境にパッケージをインストールできるようになった。それで、プロジェクトに必要なパッケージをインストールし、pythonのsite-packagesが汚くならないので、安心

virtualenvwrapperは使った事無かった。

Filed under  //   pip   Python   virtualenv  

Comments [0]

Zope 3の魅力に迫る − @IT

・VirtualEnv

 Python 2.4がシステム領域にインストールされている場合、GrokやZope 3のパッケージをインストールするのに管理者権限が必要になります。また、rpmやdebでインストール済みのパッケージと衝突する場合も考えられます。

 そのような問題を避けるため、自分のホームディレクトリ内に自分専用のPython環境を構築することができます。これはGrokを使ううえで必須ではありませんが、VirtualEnvを使ったローカルなPython環境の構築方法を紹介します。

 初めにVirtualEnvをインストールします。ここまでは管理者権限が必要になる場合があります。

$ easy_install virtualenv

 次に自分のホームディレクトリ以下にZope 3というディレクトリを作って、その中にPython環境を構築しましょう。

$ mkdir Zope3
$ cd Zope3
$ virtualenv ENV

 これでENVディレクトリ内にPython環境ができました。ENVディレクトリの中にはbinとlibフォルダができています。64bit版のGNU/Linuxによっては、lib64ディレクトリが作られる場合もあります。

$ ls ENV
bin  lib  lib64
$ ls ENV/bin
activate  easy_install  easy_install-2.4  python2.4
$ ls ENV/lib
python2.4

 この環境のPythonを使うには、binディレクトリにあるpythonを使ってください。easy_installも同様にbinディレクトリにセットアップされたので、これを使えばeasy_installでインストールされるパッケージはすべてこのPython環境にインストールされます。

 以上で環境設定は完了です。

 それでは、Grokをインストールしましょう。上で構築したPython環境に移動して、easy_installを使います。

$ cd Zope3
$ ENV/bin/easy_install grokproject

 いくつかのパッケージがインストールされ、ENV/binディレクトリにはgrokprojectコマンドが追加されました。

$ ls ENV/bin/
activate  easy_install  easy_install-2.4  grokproject  paster  python2.4

 以上でGrokのインストールは完了です。

Filed under  //   Python   virtualenv   zope  

Comments [0]

pinax : Install on VirtualBox Debian Lenny (Python virtualenv)

python virtualenv 環境にインストール。

レポジトリから落とす。

hdknr@deblen:~/django$ svn checkout http://svn.pinaxproject.com/pinax/trunk/ pinax
hdknr@deblen:~/django/pinax$ mkdir ../pinax-env
hdknr@deblen:~/django/pinax$ python scripts/pinax-boot.py ../pinax-env/
New python executable in ../pinax-env/bin/python
Installing setuptools.......................done.
Fetching Pinax from http://svn.pinaxproject.com/pinax/trunk to ../pinax-env/src/pinax
  Installing pip
  warning: no previously-included files matching '*.txt' found under directory 'docs/_build'
  no previously-included directories found matching 'docs/_build/_sources'
  zip_safe flag not set; analyzing archive contents...
  pip: module references __file__
  Installing Django 1.0.2
  Installing Pinax
Now activate the newly created virtualenv by running in '../pinax-env/':
  'source bin/activate' on Linux/Unix/Mac OS or '\bin\activate.bat' on Windows
Pinax environment created successfully.

Djangoがはいらない!

パスを変えて再トライ。

hdknr@deblen:~/django/pinax$ cd
hdknr@deblen:~$ cp -r django/pinax  pinax2
hdknr@deblen:~$ cd pinax2/
hdknr@deblen:~/pinax2$ python scripts/pinax-boot.py ../pinax2-env
New python executable in ../pinax2-env/bin/python
Installing setuptools......................done.
Fetching Pinax from http://svn.pinaxproject.com/pinax/trunk to ../pinax2-env/src/pinax
  Installing pip
  warning: no previously-included files matching '*.txt' found under directory 'docs/_build'
  no previously-included directories found matching 'docs/_build/_sources'
  zip_safe flag not set; analyzing archive contents...
  pip: module references __file__
  Installing Django 1.0.2
  Installing Pinax
Now activate the newly created virtualenv by running in '../pinax2-env':
  'source bin/activate' on Linux/Unix/Mac OS or '\bin\activate.bat' on Windows
Pinax environment created successfully.

Djangoが入った。パスにdjangoが入っているとちゃんとインストールできない bootstrapスクリプトのバグっすか?

コンソールをvirtualenv環境にする

hdknr@deblen:~$ source ./pinax2-env/bin/activate
(pinax2-env)hdknr@deblen:~$

依存パッケージをインストール。

(pinax2-env)hdknr@deblen:~/pinax2$
(pinax2-env)hdknr@deblen:~/pinax2$ pip install --requirement requirements/external_apps.txt
Downloading/unpacking http://developer.yahoo.com/python/samples/ybrowserauth.zip (from -r requirements/libs.txt (line 16))
  Downloading ybrowserauth.zip
  Running setup.py egg_info for package from http://developer.yahoo.com/python/samples/ybrowserauth.zip
( 途中長いので省略 )
  Running setup.py install for python-twitter
  Running setup.py install for Pygments
    Installing pygmentize script to /home/hdknr/pinax2-env/bin
  Running setup.py install for django-atompub
  Running setup.py install for django-messages
  Running setup.py install for photologue
    warning: no files found matching 'photologue/locale/*.mo'
    warning: no files found matching 'photologue/locale/*.po'
  Running setup.py install for django-microblogging
  Running setup.py install for Creoleparser
    no previously-included directories found matching './creoleparser/test*'
    no previously-included directories found matching './docs'
Successfully installed

PILのインストール

(pinax2-env)hdknr@deblen:~/pinax2$ pip install http://dist.repoze.org/PIL-1.1.6.tar.gz
Downloading/unpacking http://dist.repoze.org/PIL-1.1.6.tar.gz
  Downloading PIL-1.1.6.tar.gz (440Kb): 440Kb downloaded
  Running setup.py egg_info for package from http://dist.repoze.org/PIL-1.1.6.tar.gz
Installing collected packages: PIL
  Running setup.py install for PIL
    building '_imaging' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c _imaging.c -o build/temp.linux-i686-2.5/_imaging.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c decode.c -o build/temp.linux-i686-2.5/decode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c encode.c -o build/temp.linux-i686-2.5/encode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c map.c -o build/temp.linux-i686-2.5/map.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c display.c -o build/temp.linux-i686-2.5/display.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c outline.c -o build/temp.linux-i686-2.5/outline.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c path.c -o build/temp.linux-i686-2.5/path.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Access.c -o build/temp.linux-i686-2.5/libImaging/Access.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Antialias.c -o build/temp.linux-i686-2.5/libImaging/Antialias.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Bands.c -o build/temp.linux-i686-2.5/libImaging/Bands.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/BitDecode.c -o build/temp.linux-i686-2.5/libImaging/BitDecode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Blend.c -o build/temp.linux-i686-2.5/libImaging/Blend.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Chops.c -o build/temp.linux-i686-2.5/libImaging/Chops.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Convert.c -o build/temp.linux-i686-2.5/libImaging/Convert.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/ConvertYCbCr.c -o build/temp.linux-i686-2.5/libImaging/ConvertYCbCr.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Copy.c -o build/temp.linux-i686-2.5/libImaging/Copy.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Crc32.c -o build/temp.linux-i686-2.5/libImaging/Crc32.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Crop.c -o build/temp.linux-i686-2.5/libImaging/Crop.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Dib.c -o build/temp.linux-i686-2.5/libImaging/Dib.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Draw.c -o build/temp.linux-i686-2.5/libImaging/Draw.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Effects.c -o build/temp.linux-i686-2.5/libImaging/Effects.o
    libImaging/Effects.c:210: warning: ‘perlin_init’ defined but not used
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/EpsEncode.c -o build/temp.linux-i686-2.5/libImaging/EpsEncode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/File.c -o build/temp.linux-i686-2.5/libImaging/File.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Fill.c -o build/temp.linux-i686-2.5/libImaging/Fill.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Filter.c -o build/temp.linux-i686-2.5/libImaging/Filter.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/FliDecode.c -o build/temp.linux-i686-2.5/libImaging/FliDecode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Geometry.c -o build/temp.linux-i686-2.5/libImaging/Geometry.o
    libImaging/Geometry.c:236: warning: ‘quadratic_transform’ defined but not used
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/GetBBox.c -o build/temp.linux-i686-2.5/libImaging/GetBBox.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/GifDecode.c -o build/temp.linux-i686-2.5/libImaging/GifDecode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/GifEncode.c -o build/temp.linux-i686-2.5/libImaging/GifEncode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/HexDecode.c -o build/temp.linux-i686-2.5/libImaging/HexDecode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Histo.c -o build/temp.linux-i686-2.5/libImaging/Histo.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/JpegDecode.c -o build/temp.linux-i686-2.5/libImaging/JpegDecode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/JpegEncode.c -o build/temp.linux-i686-2.5/libImaging/JpegEncode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/LzwDecode.c -o build/temp.linux-i686-2.5/libImaging/LzwDecode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Matrix.c -o build/temp.linux-i686-2.5/libImaging/Matrix.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/ModeFilter.c -o build/temp.linux-i686-2.5/libImaging/ModeFilter.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/MspDecode.c -o build/temp.linux-i686-2.5/libImaging/MspDecode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Negative.c -o build/temp.linux-i686-2.5/libImaging/Negative.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Offset.c -o build/temp.linux-i686-2.5/libImaging/Offset.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Pack.c -o build/temp.linux-i686-2.5/libImaging/Pack.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/PackDecode.c -o build/temp.linux-i686-2.5/libImaging/PackDecode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Palette.c -o build/temp.linux-i686-2.5/libImaging/Palette.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Paste.c -o build/temp.linux-i686-2.5/libImaging/Paste.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Quant.c -o build/temp.linux-i686-2.5/libImaging/Quant.o
    libImaging/Quant.c:311: warning: ‘test_sorted’ defined but not used
    libImaging/Quant.c:676: warning: ‘checkContained’ defined but not used
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/QuantHash.c -o build/temp.linux-i686-2.5/libImaging/QuantHash.o
    libImaging/QuantHash.c:136: warning: ‘_hashtable_test’ defined but not used
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/QuantHeap.c -o build/temp.linux-i686-2.5/libImaging/QuantHeap.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/PcdDecode.c -o build/temp.linux-i686-2.5/libImaging/PcdDecode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/PcxDecode.c -o build/temp.linux-i686-2.5/libImaging/PcxDecode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/PcxEncode.c -o build/temp.linux-i686-2.5/libImaging/PcxEncode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Point.c -o build/temp.linux-i686-2.5/libImaging/Point.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/RankFilter.c -o build/temp.linux-i686-2.5/libImaging/RankFilter.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/RawDecode.c -o build/temp.linux-i686-2.5/libImaging/RawDecode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/RawEncode.c -o build/temp.linux-i686-2.5/libImaging/RawEncode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Storage.c -o build/temp.linux-i686-2.5/libImaging/Storage.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/SunRleDecode.c -o build/temp.linux-i686-2.5/libImaging/SunRleDecode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/TgaRleDecode.c -o build/temp.linux-i686-2.5/libImaging/TgaRleDecode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/Unpack.c -o build/temp.linux-i686-2.5/libImaging/Unpack.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/UnpackYCC.c -o build/temp.linux-i686-2.5/libImaging/UnpackYCC.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/XbmDecode.c -o build/temp.linux-i686-2.5/libImaging/XbmDecode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/XbmEncode.c -o build/temp.linux-i686-2.5/libImaging/XbmEncode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/ZipDecode.c -o build/temp.linux-i686-2.5/libImaging/ZipDecode.o
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBZ -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c libImaging/ZipEncode.c -o build/temp.linux-i686-2.5/libImaging/ZipEncode.o
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-2.5/_imaging.o build/temp.linux-i686-2.5/decode.o build/temp.linux-i686-2.5/encode.o build/temp.linux-i686-2.5/map.o build/temp.linux-i686-2.5/display.o build/temp.linux-i686-2.5/outline.o build/temp.linux-i686-2.5/path.o build/temp.linux-i686-2.5/libImaging/Access.o build/temp.linux-i686-2.5/libImaging/Antialias.o build/temp.linux-i686-2.5/libImaging/Bands.o build/temp.linux-i686-2.5/libImaging/BitDecode.o build/temp.linux-i686-2.5/libImaging/Blend.o build/temp.linux-i686-2.5/libImaging/Chops.o build/temp.linux-i686-2.5/libImaging/Convert.o build/temp.linux-i686-2.5/libImaging/ConvertYCbCr.o build/temp.linux-i686-2.5/libImaging/Copy.o build/temp.linux-i686-2.5/libImaging/Crc32.o build/temp.linux-i686-2.5/libImaging/Crop.o build/temp.linux-i686-2.5/libImaging/Dib.o build/temp.linux-i686-2.5/libImaging/Draw.o build/temp.linux-i686-2.5/libImaging/Effects.o build/temp.linux-i686-2.5/libImaging/EpsEncode.o build/temp.linux-i686-2.5/libImaging/File.o build/temp.linux-i686-2.5/libImaging/Fill.o build/temp.linux-i686-2.5/libImaging/Filter.o build/temp.linux-i686-2.5/libImaging/FliDecode.o build/temp.linux-i686-2.5/libImaging/Geometry.o build/temp.linux-i686-2.5/libImaging/GetBBox.o build/temp.linux-i686-2.5/libImaging/GifDecode.o build/temp.linux-i686-2.5/libImaging/GifEncode.o build/temp.linux-i686-2.5/libImaging/HexDecode.o build/temp.linux-i686-2.5/libImaging/Histo.o build/temp.linux-i686-2.5/libImaging/JpegDecode.o build/temp.linux-i686-2.5/libImaging/JpegEncode.o build/temp.linux-i686-2.5/libImaging/LzwDecode.o build/temp.linux-i686-2.5/libImaging/Matrix.o build/temp.linux-i686-2.5/libImaging/ModeFilter.o build/temp.linux-i686-2.5/libImaging/MspDecode.o build/temp.linux-i686-2.5/libImaging/Negative.o build/temp.linux-i686-2.5/libImaging/Offset.o build/temp.linux-i686-2.5/libImaging/Pack.o build/temp.linux-i686-2.5/libImaging/PackDecode.o build/temp.linux-i686-2.5/libImaging/Palette.o build/temp.linux-i686-2.5/libImaging/Paste.o build/temp.linux-i686-2.5/libImaging/Quant.o build/temp.linux-i686-2.5/libImaging/QuantHash.o build/temp.linux-i686-2.5/libImaging/QuantHeap.o build/temp.linux-i686-2.5/libImaging/PcdDecode.o build/temp.linux-i686-2.5/libImaging/PcxDecode.o build/temp.linux-i686-2.5/libImaging/PcxEncode.o build/temp.linux-i686-2.5/libImaging/Point.o build/temp.linux-i686-2.5/libImaging/RankFilter.o build/temp.linux-i686-2.5/libImaging/RawDecode.o build/temp.linux-i686-2.5/libImaging/RawEncode.o build/temp.linux-i686-2.5/libImaging/Storage.o build/temp.linux-i686-2.5/libImaging/SunRleDecode.o build/temp.linux-i686-2.5/libImaging/TgaRleDecode.o build/temp.linux-i686-2.5/libImaging/Unpack.o build/temp.linux-i686-2.5/libImaging/UnpackYCC.o build/temp.linux-i686-2.5/libImaging/XbmDecode.o build/temp.linux-i686-2.5/libImaging/XbmEncode.o build/temp.linux-i686-2.5/libImaging/ZipDecode.o build/temp.linux-i686-2.5/libImaging/ZipEncode.o -L/usr/local/lib -L/home/hdknr/pinax2-env/lib -lz -o build/lib.linux-i686-2.5/_imaging.so
    building '_imagingmath' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -IlibImaging -I/home/hdknr/pinax2-env/include -I/usr/local/include -I/usr/include -I/usr/include/python2.5 -c _imagingmath.c -o build/temp.linux-i686-2.5/_imagingmath.o
    gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions build/temp.linux-i686-2.5/_imagingmath.o -L/usr/local/lib -L/home/hdknr/pinax2-env/lib -o build/lib.linux-i686-2.5/_imagingmath.so
    --------------------------------------------------------------------
    PIL 1.1.6 BUILD SUMMARY
    --------------------------------------------------------------------
    version       1.1.6
    platform      linux2 2.5.2 (r252:60911, Jan  4 2009, 17:40:26)
                  [GCC 4.3.2]
    --------------------------------------------------------------------
    *** TKINTER support not available (Tcl/Tk 8.4 libraries needed)
    *** JPEG support not available
    --- ZLIB (PNG/ZIP) support ok
    *** FREETYPE2 support not available
    --------------------------------------------------------------------
    To add a missing option, make sure you have the required
    library, and set the corresponding ROOT variable in the
    setup.py script.
   
    To check the build, run the selftest.py script.
    changing mode of build/scripts-2.5/pildriver.py from 644 to 755
    changing mode of build/scripts-2.5/pilprint.py from 644 to 755
    changing mode of build/scripts-2.5/pilconvert.py from 644 to 755
    changing mode of build/scripts-2.5/pilfile.py from 644 to 755
    changing mode of build/scripts-2.5/pilfont.py from 644 to 755
    deleting PIL.egg-info/native_libs.txt
    changing mode of /home/hdknr/pinax2-env/bin/pildriver.py to 755
    changing mode of /home/hdknr/pinax2-env/bin/pilprint.py to 755
    changing mode of /home/hdknr/pinax2-env/bin/pilconvert.py to 755
    changing mode of /home/hdknr/pinax2-env/bin/pilfile.py to 755
    changing mode of /home/hdknr/pinax2-env/bin/pilfont.py to 755
Successfully installed PIL

pinaxのインストール

(pinax2-env)hdknr@deblen:~$ pinax-clone-project -l
Available Projects
------------------
private_beta_project:
    This project comes with the bare minimum set of applications and templates to
    get you started. It includes no extra tabs–only the profile and notices tabs are
    included by default. From here you can add any extra functionality and
    applications that you would like.

intranet_project:
    This is mostly just a test project at the moment, but is derived from a
    project designed for intranet use.

temp_schedule_project:
    This project comes with the bare minimum set of applications and templates to
    get you started. It includes no extra tabs–only the profile and notices tabs are
    included by default. From here you can add any extra functionality and
    applications that you would like.

complete_project:
    This project comes fully-featured, with everything that Pinax provides enabled
    by default. It provides all tabs available, etc. From here you can remove
    applications that you do not want to use, and add your own applications as well.

basic_project:
    This project comes with the bare minimum set of applications and templates to
    get you started. It includes no extra tabs–only the profile and notices tabs are
    included by default. From here you can add any extra functionality and
    applications that you would like.

temp_group_project:
    This project is a temporary project for implementing the new group-related
    apps.

temp_content_project:
    This project comes with a base set of apps that are good for building a content
    management system.  If you're looking to start a mainly content-driven web site,
    this is the project to choose.

(pinax2-env)hdknr@deblen:~$ pinax-clone-project complete_project mysite
Copying your project to its new location
Updating settings.py for your new project
Renaming your deployment files
Finished cloning your project, now you may enjoy Pinax!

pinax起動

(pinax2-env)hdknr@deblen:~/mysite$ cd mysite/
(pinax2-env)hdknr@deblen:~/mysite$ python manage.py syncdb
Creating table auth_permission
Creating table auth_group
Creating table auth_user
Creating table auth_message
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table notification_noticetype
Creating table notification_noticesetting
Creating table notification_notice
Creating table notification_noticequeuebatch
Creating table notification_observeditem
Creating table emailconfirmation_emailaddress
Creating table emailconfirmation_emailconfirmation
Creating table robots_url
Creating table robots_rule
Creating table django_template
Creating table friends_contact
Creating table friends_friendship
Creating table friends_joininvitation
Creating table friends_friendshipinvitation
Creating table mailer_message
Creating table mailer_dontsendentry
Creating table mailer_messagelog
Creating table messages_message
Creating table announcements_announcement
Creating table oembed_providerrule
Creating table oembed_storedoembed
Creating table djangodblog_errorbatch
Creating table djangodblog_error
Creating table threadedcomments_threadedcomment
Creating table threadedcomments_freethreadedcomment
Creating table threadedcomments_testmodel
Creating table wiki_article
Creating table wiki_changeset
Creating table swaps_offer
Creating table swaps_swap
Creating table app_plugins_pluginpoint
Creating table app_plugins_plugin
Creating table app_plugins_userpluginpreference
Creating table votes
Creating table tagging_tag
Creating table tagging_taggeditem
Creating table bookmarks_bookmark
Creating table bookmarks_bookmarkinstance
Creating table blog_post
Creating table photologue_gallery
Creating table photologue_galleryupload
Creating table photologue_photo
Creating table photologue_photoeffect
Creating table photologue_watermark
Creating table photologue_photosize
Creating table avatar_avatar
Creating table flag_flaggedcontent
Creating table flag_flaginstance
Creating table schedule_rule
Creating table schedule_event
Creating table schedule_calendar
Creating table schedule_calendarrelation
Creating table schedule_eventrelation
Creating table microblogging_tweet
Creating table microblogging_tweetinstance
Creating table microblogging_following
Creating table locations_location
Creating table profiles_profile
Creating table account_account
Creating table account_otherserviceinfo
Creating table tribes_tribe
Creating table tribes_topic
Creating table projects_project
Creating table projects_projectmember
Creating table projects_topic
Creating table projects_task
Creating table photos_photoset
Creating table photos_image
Creating table photos_pool
Creating table django_admin_log
Creating table django_openid_nonce
Creating table django_openid_association
Creating table django_openid_useropenidassociation
You just installed Django's auth system, which means you don't have any superusers defined.
 
Would you like to create one now? (yes/no): yes
Username (Leave blank to use 'hdknr'): hdknr
E-mail address: hdknr@hdknr.deb
Password:
Password (again):
Superuser created successfully.
Installing index for auth.Permission model
Installing index for auth.Message model
Installing index for notification.NoticeSetting model
Installing index for notification.Notice model
Installing index for notification.ObservedItem model
Installing index for emailconfirmation.EmailAddress model
Installing index for emailconfirmation.EmailConfirmation model
Installing index for friends.Contact model
Installing index for friends.Friendship model
Installing index for friends.JoinInvitation model
Installing index for friends.FriendshipInvitation model
Installing index for messages.Message model
Installing index for announcements.Announcement model
Installing index for djangodblog.ErrorBatch model
Installing index for djangodblog.Error model
Installing index for threadedcomments.ThreadedComment model
Installing index for threadedcomments.FreeThreadedComment model
Installing index for wiki.Article model
Installing index for wiki.ChangeSet model
Installing index for swaps.Offer model
Installing index for swaps.Swap model
Installing index for app_plugins.Plugin model
Installing index for app_plugins.UserPluginPreference model
Installing index for voting.Vote model
Installing index for tagging.TaggedItem model
Installing index for bookmarks.Bookmark model
Installing index for bookmarks.BookmarkInstance model
Installing index for blog.Post model
Installing index for photologue.GalleryUpload model
Installing index for photologue.Photo model
Installing index for photologue.PhotoSize model
Installing index for avatar.Avatar model
Installing index for flag.FlaggedContent model
Installing index for flag.FlagInstance model
Installing index for schedule.Event model
Installing index for schedule.Calendar model
Installing index for schedule.CalendarRelation model
Installing index for schedule.EventRelation model
Installing index for microblogging.Tweet model
Installing index for microblogging.TweetInstance model
Installing index for microblogging.Following model
Installing index for locations.Location model
Installing index for account.OtherServiceInfo model
Installing index for tribes.Tribe model
Installing index for tribes.Topic model
Installing index for projects.Project model
Installing index for projects.ProjectMember model
Installing index for projects.Topic model
Installing index for projects.Task model
Installing index for photos.Image model
Installing index for photos.Pool model
Installing index for admin.LogEntry model
Installing index for django_openid.UserOpenidAssociation model
Installing json fixture 'initial_data' from '/home/hdknr/pinax2-env/src/django-oembed/oembed/fixtures'.
Installing json fixture 'initial_data' from '/home/hdknr/mysite/apps/photos/fixtures'.
Installed 18 object(s) from 2 fixture(s)

後は動かすだけ。

pinaxがうごいたよ
pinaxがうごいたよ by hdknr on Zooomr

Filed under  //   Django   pinax   virtualenv  

Comments [0]

Installation — Pinax v0.7beta3 documentation

If you use virtualenvwrapper (we highly encourage you do), you can easily replace ../ with your WORKON_HOME. This gives you regular access to workon to activate your environment.

Filed under  //   Django   pinax   virtualenv  

Comments [0]

python : virtualenvのインストール

今年の常識らしいです。
 
hdknr@deblen:~/django$ sudo easy_install virtualenv
Searching for virtualenv
Reading http://pypi.python.org/simple/virtualenv/
Best match: virtualenv 1.3.3
Downloading
http://pypi.python.org/packages/2.5/v/virtualenv/virtualenv-1.3.3-py2.5.egg#md5=fae350c941cd9eadf5e9a407c37a2e03
Processing virtualenv-1.3.3-py2.5.egg
creating /usr/lib/python2.5/site-packages/virtualenv-1.3.3-py2.5.egg
Extracting virtualenv-1.3.3-py2.5.egg to /usr/lib/python2.5/site-packages
Adding virtualenv 1.3.3 to easy-install.pth file
Installing virtualenv script to /usr/bin
 
Installed /usr/lib/python2.5/site-packages/virtualenv-1.3.3-py2.5.egg
Processing dependencies for virtualenv
Finished processing dependencies for virtualenv
 
hdknr@deblen:~/django$ python
Python 2.5.2 (r252:60911, Jan 4 2009, 17:40:26)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import virtualenv
>>> dir(virtualenv)
['ACTIVATE_BAT', 'ACTIVATE_SH', 'ACTIVATE_THIS', 'DEACTIVATE_BAT',
'DISTUTILS_CFG', 'DISTUTILS_INIT', 'EZ_SETUP_PY', 'Logger',
'OK_ABS_SCRIPTS', 'REQUIRED_MODULES', 'SITE_PY', '__builtins__',
'__doc__', '__file__', '__name__', 'call_subprocess', 'copyfile',
'create_bootstrap_script', 'create_environment', 'distutils',
'expected_exe', 'filter_ez_setup', 'fix_lib64', 'fixup_egg_link',
'fixup_pth_and_egg_link', 'fixup_pth_file', 'fixup_scripts',
'install_activate', 'install_distutils', 'install_python',
'install_setuptools', 'is_jython', 'join', 'logging', 'main',
'make_environment_relocatable', 'make_exe', 'make_relative_path',
'mkdir', 'optparse', 'os', 'path_locations', 'py_version',
'resolve_interpreter', 'rmtree', 'shutil', 'subprocess', 'sys', 'writefile']
>>>

Filed under  //   Python   virtualenv  

Comments [0]