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

Thomas Güttler guettliml at thomas-guettler.de
Wed Oct 7 07:12:22 CEST 2015


Am 07.10.2015 um 00:08 schrieb Ionel Cristian Mărieș:
> On Wed, Oct 7, 2015 at 12:51 AM, Ben Finney <ben+python at benfinney.id.au>
> wrote:
> 
>> I think the above describes the standard way of declaring the test
>> runner: The ‘setup.py test’ command.
>>
>> Now, I lament that more Python projects don't *conform to* that
>> standard, but at least it exists.
>>
> 
> ​There's a very simple answer to that: easy_install (that's what `setup.py
> test` will use to install deps). It has several design issue wrt how
> packages are installed and how dependencies are managed.
> 
> Lets not use `setup.py test`. It's either bad or useless.

Sorry, I am not an expert in the area "packaging".

I don't understand what you say.

I thought "easy_install" is a very old and deprecated method.

Why not use `setup.py test`?

Regards,
  Thomas Güttler
	

-- 
http://www.thomas-guettler.de/


More information about the Distutils-SIG mailing list