#1045 Cleanup python packaging
Closed: Fixed by lsedlar. Opened by lsedlar.

Every file in {{bin/}} subdirectory should be modified to only call a main method provided by importable python module. That way all code would be importable in tests without having to do any magic.

Once this is done, the directory should just be dropped and replaced with entry points in setup.py. This will force developers into using virtualenv and python setup.py develop to run scripts from the checkout. The documentation will need to be updated.

Eventually this will enable us to drop the path modifications from tests.


Commit 3cf16eb4 fixes this issue

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/pungi/pungi/issues/1045

Please continue any further discussion there.

Metadata
Related Pull Requests