[Distutils] Where should I put tests when packaging python modules?

Antoine Pitrou solipsis at pitrou.net
Tue Oct 6 15:07:29 CEST 2015


On Tue, 6 Oct 2015 08:57:12 -0400
Donald Stufft <donald at stufft.io> wrote:
> 
> It doesn't really make experimenting in a VCS any harder, since all you need to
> do first is run ``pip install -e .`` and it will do a development install and
> add the src/ directory to sys.path.

That means you're suddently polluting your Python install with a
development package.  So either you create a dedicated virtualenv (more
command-line boilerplate, including each time you switch from a project
another) or you risk messing with other package installs.

Regards

Antoine.


More information about the Distutils-SIG mailing list