About a year ago, I moved all my projects to the pattern that Pyramid uses itself...
* /src/PROJECT * /tests * /MANIFEST.in * /pyproject.toml * /setup.cfg * /setup.py * /tox.ini That has eliminated 99% of the packaging issues I've encountered in the past. IIRC, that became the standardized repo design for Python projects a few years ago, due to constant issues in package/file discovery. On Tuesday, October 26, 2021 at 7:56:21 AM UTC-4 est...@augusta.de wrote: > Hi, > > I'm using pyramid for some web application. I .whl files to install the > application inside a container. > > It is working perfectly. But setup.py bdist_wheel always add the > unittests to the wheel. Unittests reside in the tests folder in the same > folder as the application folder. So the tests get added in the root > folder of the wheel and when extracted. They are places in the > site_packages folder. > > How can I prevent the tests to be added. > > I tried > > packages=find_packages(exclude=('tests',)), > > They still are added > > i tried > > packages=['<packagename>'] > > The are not included. But some other folders like locale are missing now. > > i tried why Manifest.in. No success there either. > > Can someone give me some pointers, what I'm missing. > > regards > Estartu > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discuss+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/9d2e711c-8801-4236-8e8a-182c4f77d909n%40googlegroups.com.