Hi,
It sounds you are looking for virtualenvironments,
http://www.virtualenv.org/en/latest/

It helps you to put everything related to your project in one environment.
https://docs.djangoproject.com/en/dev/topics/install/#installing-an-official-release-with-pip

Cheers Frank


Am 10.01.2014 13:34, schrieb Staszek:
Hi

Is it possible to bundle Django with the application, or a number of
applications, instead of installing it in a system-wide location?

The instructions here:
https://docs.djangoproject.com/en/1.6/topics/install/ do not seem to
allow such a setting.

I was kind-of able to do it with PYTHONPATH=/some/path/to/django/, i.e.
this command-line program:

import django
print(django.get_version())

runs (and prints 1.6.1), but Django's own test suite does not seem to work:

$ ./runtests.py
Usage: runtests.py [options] [module module module ...]

runtests.py: error: DJANGO_SETTINGS_MODULE is not set in the
environment. Set it or use --settings.

What's wrong?...


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/52CFFDFE.5040103%40produktlaunch.de.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to