Pylons / pyramid-cookiecutter-starter

A Cookiecutter (project template) for creating a Pyramid starter project with choices for template language (Jinja2, Chameleon, or Mako), persistent backend (none, SQLAlchemy with SQLite, or ZODB), and mapping of URLs to routes (URL dispatch or traversal)
95 stars 53 forks source link

Changed files involved in building packaging to align with PEP-517 and PEP-518. #133

Closed search5 closed 7 months ago

search5 commented 7 months ago

The Python community recently created a new packaging standard to allow multiple build tools to be used together on top of setuptools during the Python packaging process.

These standards are defined in PEP-517 and PEP-518, and to make pyramid compliant with the new PEP standards, we've migrated setup.py to setup.cfg and created a new pyproject.toml file that is involved in packaging builds.

In the future, users will be able to install the build package separately and run the python -m build command to get the whl file and tar.gz file at once.

mmerickel commented 7 months ago

Thank you for contributing these patches. Unfortunately this work has already been done in the main branch so I think this is redundant. It can be used today if you install with --branch main. However it won’t be officially released until we release Pyramid 2.1 which should be soonish.

The same applies for your other PR #132 regarding SQLAlchemy support in which we’ve added v2 patterns to the cookiecutter.