We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I don't thing there's any need to bundle them in the built package. Smaller package sizes == happier devs and planet.
Dev reference: https://hynek.me/articles/testing-packaging/ | https://blog.ionelmc.ro/2014/05/25/python-packaging/#the-structure
Project structure:
src/ ╰─ project_name/ ╰─ ... tests/ ╰─ ... <configuration files etc>
The text was updated successfully, but these errors were encountered:
This sounds good to me!
Don't forget to update https://github.com/wagtail/cookiecutter-wagtail-package/blob/main/wagtail-%7B%7B%20cookiecutter.project_name_kebab%20%7D%7D/setup.py#L23 to prevent the tests folder being packaged up an installed as a global "tests" app (which might conflict with the test suite of draftjs_exporter which does this).
draftjs_exporter
Sorry, something went wrong.
yep, that's what we do on wagtailmedia - https://github.com/torchbox/wagtailmedia/blob/main/setup.py#L37-L38
Test were moved to the root level. Now to move package_name to src/package_name so it is never a top level import
package_name
src/package_name
No branches or pull requests
I don't thing there's any need to bundle them in the built package. Smaller package sizes == happier devs and planet.
Dev reference: https://hynek.me/articles/testing-packaging/ | https://blog.ionelmc.ro/2014/05/25/python-packaging/#the-structure
Project structure:
The text was updated successfully, but these errors were encountered: