Hi Dilip,

There is some good information about this in the book "Expert Python
Programming" by Tarek Ziade, and maybe you could look into
http://pypi.python.org/virtualenv, easy_install and zc.buildout.

Regards,
Bjorn

On Wed, Apr 14, 2010 at 10:27 AM, Dilip M <dilip...@gmail.com> wrote:

> Hi All,
>
> I would like to understand how to deploy specific version of python and its
> modules and apps in consistent manner.
>
> Use case:
>
> 1- How to install specific version of python in my own path. (consider
>  NFS, /opt/sw/bin and /opt/sw/lib). This particular share is mounted on all
> dev machines.
>
> 2- How to develop application _using_ only the python and its libs
> installed in
>  /opt/sw/bin and /opt/sw/lib.
>
> 3- Now once developed, my applications is dependent on python and its libs
> in
>  /opt/sw/bin and /opt/sw/lib. Hence I want to keep it in sync on all
> machines
> (ofcourse it is mounted). Giving me chance to rollback it necessary.
>
> Here is what I am thinking of doing it. Please correct me and suggest
> the better way!
>
> 1-
>
> Install python in this location.
>
> ./configure --prefix=/opt/sw
> make
> make install
>
> 2-
> setenv PYTHONPATH=/opt/sw/lib/python
>
> 3. Add whole /opt/sw to some dvcs (hg) and keep updating to stable
> revisions.
>
>
> -- Dilip
>
>
>
> --
> Dilip
> _______________________________________________
> Tutor maillist  -  Tutor@python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to