I started learning DJango for the first time. I have some amount of basic knowledge of python but DJango is first for me. I started with the documentation page of django, bu
The most flexbile way, IMO, of installing w/o old setuptools, is
$ curl -O http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.7.1.2.tar.gz
tar xzf virtualenv-1.7.1.2.tar.gz
$ python2.7 virtualenv-1.7.1.2/virtualenv.py --distribute ~/env
$ source ~/env/bin/activate
pip install Django
~/env/lib/python2.7/site-packages/django
.pip install -e svn+http://code.djangoproject.com/svn/django/trunk
~/env/src/django/django
. Then you are free to read the source or modify it. Also, you could have full documents by make html
in ~/env/src/django/docs
Things installed by the above method are totally local, you don't need to type sudo or take the risk of messing up paths such as /usr/local/lib
, even more, you could then be able to install multiple versions of Django or Python w/o affect each other!
Furthermore, you could try virtualenvwrapper.