On Fri, Nov 13, 2015 at 1:50 PM, Nagy László Zsolt <[email protected]> wrote:
> The problem is that there is a "test" directory and it is added to the > source distribution. I want to exclude that. I know that there is an > "exclude" parameter for find_packages(). But this is not a package. This is > a single module. How do I exclude a directory then? People usually include the tests in their sdist - you might want to do that too. If you still don't then you can control the contents of sdist via MANIFEST.in - "test" is inlcuded by default afaik so just add a "prune test" in MANIFEST.in. Still, take note that sdist is not what gets installed in site-packages, so you should have all your source files in it. IOW: don't do prune test. Thanks, -- Ionel Cristian Mărieș, http://blog.ionelmc.ro
_______________________________________________ Distutils-SIG maillist - [email protected] https://mail.python.org/mailman/listinfo/distutils-sig
