[issue32419] Add unittest support for pyc projects

2018-03-31 Thread Bassem Girgis
Bassem Girgis <brgir...@gmail.com> added the comment: I Robert, One use scenario is to run deployment tests for sourceless packages and to ensure the integrity of the production environment. Very useful in container environments! In regards to the looking for the __init__ file, it is o

[issue32419] Add unittest support for pyc projects

2018-03-31 Thread Bassem Girgis
Bassem Girgis <brgir...@gmail.com> added the comment: Please let me know what I need to do in order to close this issue and finally merge the code. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue32419] Add unittest support for pyc projects

2017-12-25 Thread Bassem Girgis
Bassem Girgis <brgir...@gmail.com> added the comment: Hi Eric, Yes it is like David said. For the projects you don't distribute the code with the deployment package, you end up distributing only pyc files. As of how to get these files, you can make use of py_compile or compileall m

[issue32419] Add unittest support for pyc projects

2017-12-23 Thread Bassem Girgis
New submission from Bassem Girgis <brgir...@gmail.com>: This PR makes it possible to "unittest" projects that are all pyc with no __init__.py which is hardcoded in few checks in unittest.loader -- components: Extension Modules messages: 308970 nosy: brgirgis