Cookiecutter Pylibrary Versions Save

Enhanced cookiecutter template for Python libraries.

v3.0

1 year ago
  • Added support for Python 3.11.
  • Switched to pathlib in post gen hook and bootstrap script.
  • Various bug fixing.
  • Bumped minimum Python 3 to 3.7. Use the older v2.0 tag if you still care about the now unmaintained Python 3.6.

v2.0

1 year ago
  • Remove the ol' nose support (it's really dead, just admit pytest is the best already people).
  • Move pytest conf to separate file (don't need to escape % and probably other weird stuff).
  • Added Python 3.10 boilerplate.
  • Added a pre-commit formatter option.
  • Added support for GitHub Actions.
  • Added support for setting a specific main branch.
  • Various packaging and testing fixes and improvements.

v1.16

1 year ago
  • Ignored files: .ipynb_checkpoints, .benchmarks
  • Reduce configuration (elide defaults) and remove copy-pasta stuff from docs.
  • Various CI, packaging, metadata and badge fixes.
  • Added .readthedocs.yml config file.
  • Added support for Python 3.8, dropped Python 3.4.
  • Added pyproject.toml to solve a bunch of packaging problems when setuptools-scm or Cython/CFFI are enabled.
  • Added options to customize where docs, repository and packages are hosted.
  • Added options to customize where tests are located.
  • Added GNU LGPL licenses.

v1.15

1 year ago
  • Updated various URLS.
  • Changed years to year_from and year_to to have less fuss when regenerating a project.
  • Fixed various configuration issues (broken envs, coverage configuration, travis configuration etc).
  • Added project urls and python version requirements in setup.py.

v1.14

1 year ago
  • Simplified pytest configuration in some cases.
  • Fixed bumpversion configuration to not replace every matching string (like dependency pins).
  • Changed travis configuration to install latest PyPy (6.0)
  • Added an env for PyPy3 in Tox/Travis configuration.
  • Dropped Python 3.3 support. Contributed by Labrys of Knossos in #97.
  • Added Python 3.7 support.
  • Made documentation optional (the new sphinx_docs option).
  • Changed setup.py to avoid leaving unclosed file handles.
  • Now using pytest instead of py.test. Contributed by Ville Skyttä in #92.
  • Added mypy and pytest caches to .gitignore. Contributed by Nate Marks and Labrys of Knossos in #99 and #95
  • Added support for generating a CFFI binding project.
  • Fixed ci/bootstrap.py to work properly when mixing up Python 2 and 3 (execv instead of broken activate_this.py).
  • Various template fixes (spacing, conditions, etc).

v1.13

1 year ago
  • Added [license]{.title-ref} option. Contributed by Samuel Bishop in #83.
  • Various small fixes to test and coverage configuration.
  • Added the "commits since" badge in README.rst.
  • Removed download count badge (obsolete).
  • Changed travis configuration to use a newer PyPy.
  • Added more information about building/uploading package.
  • Added support for using PyLama instead of flake8. Contributed by William Hughes in #86.

v1.12

1 year ago
  • Removed all references to Python 2.6 from various config files. Contributed by Lucas Wiman, #48.
  • Rename bin_name to command_line_interface_bin_name for more clarity.
  • Added test_matrix_separate_coverage option with default to "no". Previously the template generated two environment flavors in tox.ini: cover and nocov (what test_matrix_separate_coverage == "yes" would generate now).
  • Added sphinx_doctest option to complement the lack of doctest support when test_matrix_separate_coverage == "no" is used.
  • Added isort checks in tox.ini. Contributed by Fábio C. Barrionuevo da Luz in #50.
  • Removed "extension-coveralls" if it's not used. Contributed by Fábio C. Barrionuevo da Luz in #49.
  • Fixed issues when running ci/bootstrap.py on Python 3.
  • Fixed issues with Sphinx configuration so it works properly with Sphinx 1.4. Contributed by Sean Fisk in #55.
  • Changed default options to use templating and reuse the [project_name]{.title-ref}. Contributed by Christoph Sarnowski in #56.
  • Extended default coverage reporting to include tests.
  • Fixed trailing newline. Contributed in #67.
  • Fixed missing console_scripts entrypoint and improve nose configuration. Contributed by Laurent Laporte in #64.
  • Improved code style in a bunch of files. Contributed by Laurent Laporte in #62.
  • Fixed coverage combining in coveralls/codecov tox envs. Now append mode is used, to avoid discarding coverage data.

v1.10

8 years ago
  • Added support for Python 3.5 in AppVeyor conf.
  • Various small fixes and improvements to the CI and testing configuration.
  • Switched some badges to not use shields.io (it has bad uptime).
  • Added codecov support in Appveyor configuration.
  • Made appveyor, travis and requires.io optional.

v1.9

8 years ago
  • Changed badge images to be served over https.
  • Fix wrong path and missing passenv in the tox.ini template. Closed #24 <https://github.com/ionelmc/cookiecutter-pylibrary/issues/24>_.
  • Excluded *.dylib in MANIFEST.in.
  • Replaced dashes with underscores in package name. Closed #23 <https://github.com/ionelmc/cookiecutter-pylibrary/issues/23>_.
  • Added Codeclimate and Codacy badge placeholders. Contributed by kaidokert, #22 <https://github.com/ionelmc/cookiecutter-pylibrary/pull/22>_.
  • Minor cleanup in tox.ini.
  • Fixed long heading underlines in generated RST documents.
  • Changed tox configuration to use skip_install instead of usedevelop for envs that don't need to import anything.
  • Fixed missing interpreter for the spell env.
  • Moved bumpversion configuration out of setup.cfg. Unfortunately bumpversion removes comments from the config file, so setup.cfg is not a good place.
  • Simplified coverage configuration a bit.

v1.8.1

8 years ago
  • Change the basic tox.ini to allow overriding the interpreter (so that 64bit interpreter actually gets used on AppVeyor).