mirror of
https://github.com/jazzband/django-avatar.git
synced 2026-04-04 07:20:24 +00:00
40 lines
1.3 KiB
Text
40 lines
1.3 KiB
Text
|
|
Installing the latest development version of django-avatar
|
||
|
|
----------------------------------------------------------
|
||
|
|
|
||
|
|
To install, first check out the latest version of the application from
|
||
|
|
subversion:
|
||
|
|
|
||
|
|
svn co http://django-avatar.googlecode.com/svn/trunk django-avatar
|
||
|
|
|
||
|
|
Now, link the inner ``avatar`` project to your Python path:
|
||
|
|
|
||
|
|
sudo ln -s `pwd`/avatar SITE_PACKAGES_DIR/avatar
|
||
|
|
|
||
|
|
If you don't know the location of your site packages directory, this hack might
|
||
|
|
do the trick for you:
|
||
|
|
|
||
|
|
sudo ln -s `pwd`/avatar `python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()"`/avatar
|
||
|
|
|
||
|
|
Now it's installed! Please see usage.txt for information on how to use this
|
||
|
|
application in your projects.
|
||
|
|
|
||
|
|
Installing via setup.py
|
||
|
|
-----------------------
|
||
|
|
|
||
|
|
Included with this application is a file named ``setup.py``. It's possible to
|
||
|
|
use this file to install this application to your system, by invoking the
|
||
|
|
following command:
|
||
|
|
|
||
|
|
sudo python setup.py install
|
||
|
|
|
||
|
|
Once that's done, you should be able to begin using django-avatar at will.
|
||
|
|
|
||
|
|
Installing via setuptools
|
||
|
|
-------------------------
|
||
|
|
|
||
|
|
If you have setuptools_ installed, you can simply run the following command
|
||
|
|
to install django-avatar:
|
||
|
|
|
||
|
|
sudo easy_install django-avatar
|
||
|
|
|
||
|
|
.. _setuptools: http://peak.telecommunity.com/DevCenter/setuptools
|