I have previously created an installation for my Django project to run on Linux, using mod_wsgi and Apache. For these deployments, there is a section in the django.wsgi script which initiates the virtualenv:
Now I am using the Anaconda distribution to create an equivalent setup running under Windows, but am not sure what combination/sequence of instructions is needed to emulate the above section (because Anaconda has its own approach to creating a virtual environment)?
Any help with this would be appreciated, as I am not a regular Windows or Anaconda user.
Thanks
-- activate_env=os.path.expanduser("/path/to/venv/bin/activate_this.py")
execfile(activate_env, dict(__file__=activate_env))
Now I am using the Anaconda distribution to create an equivalent setup running under Windows, but am not sure what combination/sequence of instructions is needed to emulate the above section (because Anaconda has its own approach to creating a virtual environment)?
Any help with this would be appreciated, as I am not a regular Windows or Anaconda user.
Thanks
Derek
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/CAF1Wu3OKi%3D%3DseFaVN4BX4%2BvOdL2%3D0T6myjYLmDP1T4u2PN3-Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment