[Distutils] Where should I put tests when packaging python modules?
Robert Collins
robertc at robertcollins.net
Mon Oct 12 02:02:10 CEST 2015
On 10 October 2015 at 21:47, Wichert Akkerman <wichert at wiggy.net> wrote:
> Also having test code in the package can be very painful if you use tools
> like venusian which scan and try to import all Python files.
Even if tests are not in-package, such tools need to cope with extras
in general: any optionally-installed dependencies will have this
issue. Venusian offers a callback on import errors -
http://venusian.readthedocs.org/en/latest/#onerror-scan-callback.
-Rob
--
Robert Collins <rbtcollins at hp.com>
Distinguished Technologist
HP Converged Cloud
More information about the Distutils-SIG
mailing list