ImperialCollegeLondon / pyrealm

Development of the pyrealm package, providing an integrated toolbox for modelling plant productivity, growth and demography using Python.
https://pyrealm.readthedocs.io/
MIT License
19 stars 8 forks source link

Add test folder to package source distribution #259

Open j-emberton opened 2 months ago

j-emberton commented 2 months ago

Is your feature request related to a problem? Please describe.

Pyrealm is distributed from PyPI without the tests included. This means that anyone who wants to build Pyrealm themselves doesn't have direct access to the tests to verify their build.

This is relevant to people and orgs (e.g. anaconda etc) who like to build their own packages.

Describe the solution you'd like

Add the tests to the source distribution

davidorme commented 2 months ago

That seems sensible - I hadn't really looked at what is included in the source distribution. I explicitly included the pyrealm_build_data package in source, which is excluded from the binary distributions, but it doesn't include anything else needed to build and test the package, so the source distribution doesn't really stand alone.

It's not just tests, really - the docs should probably go in too?

j-emberton commented 2 months ago

Yes I'd agree documentation would be a useful addition.