[BangPypers] setuptools and distutils confusion

Gopalakrishnan Subramani gopalakrishnan.subramani at gmail.com
Wed Aug 24 08:46:48 CEST 2011


setuptools is for the users who use a package produced by someone.
disutils is for users who produce the package.





On Wed, Aug 24, 2011 at 12:35 AM, Amit Sethi <amit.pureenergy at gmail.com>wrote:

> Hi all,
> I am really confused as to how setuptools and distutils work.
> Basically what i want to achieve is be able to install packages in my
> local environment and not globally ( just a preference ) . I know I
> can use virtualenv and distribute but i just want to do some simple
> testing and don't really want to setup a virtualenv for that.
>
> The usual practice I adopted for this was that in setup.py I would
> change the lines
> from setuptools import setup
> to
> from distutils.core import setup
> this way i can use
>
> python setup.py develop instead of python setup.py install
> and it will install the package in the same directory
>
> but it turns out when i use python setup.py develop
> in this fashion while this particular package is installed locally all
> other packages acquired from pypi are installed in the usual way . Is
> there any way i can solve that make it install all packages locally ..
>
> Thanks
> Amit
>
> --
> A-M-I-T S|S
> _______________________________________________
> BangPypers mailing list
> BangPypers at python.org
> http://mail.python.org/mailman/listinfo/bangpypers
>


More information about the BangPypers mailing list