Enhanced cookiecutter template for Python libraries.
v2.0
tag if you
still care about the now unmaintained Python 3.6.years
to year_from
and year_to
to have less fuss when
regenerating a project.setup.py
.sphinx_docs
option).setup.py
to avoid leaving unclosed file handles.pytest
instead of py.test
. Contributed by Ville Skyttä
in #92..gitignore
. Contributed by Nate
Marks and Labrys of Knossos in
#99 and
#95
ci/bootstrap.py
to work properly when mixing up Python 2 and
3 (execv
instead of broken activate_this.py
).README.rst
.bin_name
to command_line_interface_bin_name
for more
clarity.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).sphinx_doctest
option to complement the lack of doctest
support when test_matrix_separate_coverage == "no"
is used.isort
checks in tox.ini
. Contributed by Fábio C.
Barrionuevo da Luz in
#50."extension-coveralls"
if it's not used. Contributed by
Fábio C. Barrionuevo da Luz in
#49.ci/bootstrap.py
on Python 3.console_scripts
entrypoint and improve nose
configuration. Contributed by Laurent Laporte in
#64.#24 <https://github.com/ionelmc/cookiecutter-pylibrary/issues/24>
_.MANIFEST.in
.#23 <https://github.com/ionelmc/cookiecutter-pylibrary/issues/23>
_.#22 <https://github.com/ionelmc/cookiecutter-pylibrary/pull/22>
_.tox.ini
.skip_install
instead of usedevelop
for envs that don't need to import anything.setup.cfg
. Unfortunately bumpversion removes comments from the
config file, so setup.cfg
is not a good place.tox.ini
to allow overriding the interpreter (so that 64bit interpreter
actually gets used on AppVeyor).