I\'m trying to put a Python project into a tarball using setuptools. The problem is that setuptools doesn\'t appear to like the way that the source tree was originally setu
An additional solution that worked in my case. Apparently: packages=setuptools.find_packages(exclude=["tests.*", "tests"]),
didn't work, but:
packages=setuptools.find_packages(exclude=["*tests.*", "*tests"]),
adding the star character at the beginning of the word did the trick.