Ouranosinc / xscen

A climate change scenario-building analysis framework.
https://xscen.readthedocs.io/
Apache License 2.0
15 stars 2 forks source link

Update cookiecutter, adopt pyproject.toml #292

Closed Zeitsperre closed 10 months ago

Zeitsperre commented 10 months ago

Pull Request Checklist:

What kind of change does this PR introduce?

Does this PR introduce a breaking change?

There are no behavioural changes for users or developers, but the build system configurations are now more centralized into pyproject.toml. bump2version has been replaced with bump-my-version (maintained; pyproject.toml support).

setup.py has been mostly hollowed out. The only function remaining is that which generate the translations. This approach is the recommended way to maintain setup.py functionality in the new build system.

The contents of the wheel are set within pyproject.toml while those of the source distribution are still set via MANIFEST.in, similar to how it was configured before.

Other information:

https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html https://docs.pypi.org/trusted-publishers/using-a-publisher/

What's missing?

Zeitsperre commented 10 months ago

I have two commits waiting to resolve (?). Once those are in, feel free to review!

Edit: They're in.

RondeauG commented 10 months ago

We'll need to modify PULL_REQUEST_TEMPLATE.md to refer to CHANGES.rst, instead of HISTORY.rst