Friday, November 25, 2011

Re: Basic installation

Dont worry that it was hard to understand just how to set it up. I had a tough time understanding the directions too!

- JJ



On Nov 24, 2011, at 11:59 PM, Timothy Makobu <makobu.mwambiriro@gmail.com> wrote:

  • Install setup tools http://pypi.python.org/pypi/setuptools/0.6c11
  • Go to the command line (cmd.exe) and type
    • easy_install django
    • easy_install ipython (not needed by django, but very useful, as you will see when you come to running "python manage.py shell"
Then read this WHOLE thing http://www.djangobook.com/en/2.0/

On Fri, Nov 25, 2011 at 3:29 AM, ek_wals <kbochert@copper.net> wrote:


On Nov 24, 3:02 pm, ek_wals <kboch...@copper.net> wrote:
> I'm at a loss as to installing Django - and I have spent the day
> reading the documentation, the FAQ etc.
> I understand that I should download django, unzip and un-tar, and then
> run setup.py in the resulting directory. When I do this, I get a bunch
> of stuff in that directory, and nothing in my Python site-packages
> directory.
>
> I wish to have my pure-python site packages in a separate directory, C:
> \Python\site-packages, because they are not specific to one of the
> Python versions I have installed. I have added a .pth file to PythonXX/
> lib/site-packages to include the 'global' packages, and a
> distutils.cfg file to tell distutils about my install preferences.
>
> Django installs to its own directory, not to my requested directory or
> even to the default 'site-packages directory.
>
> What am I missing?? Does Django's included setup.py just ignore such
> details?

Read the manual stupid -- or in this case the Python distutils source
code!

It works fine

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment