Skip to content

Commit

Permalink
Update from template.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Nov 2, 2020
1 parent 838e1f0 commit 8e2a20a
Show file tree
Hide file tree
Showing 8 changed files with 175 additions and 65 deletions.
22 changes: 22 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,28 @@ environment:
PYTHON_VERSION: '3.8'
PYTHON_ARCH: '64'
WHEEL_PATH: .tox/dist
- TOXENV: py39-cover,codecov,coveralls
TOXPYTHON: C:\Python39\python.exe
PYTHON_HOME: C:\Python39
PYTHON_VERSION: '3.9'
PYTHON_ARCH: '32'
- TOXENV: py39-cover,codecov,coveralls
TOXPYTHON: C:\Python39-x64\python.exe
PYTHON_HOME: C:\Python39-x64
PYTHON_VERSION: '3.9'
PYTHON_ARCH: '64'
- TOXENV: py39-nocov
TOXPYTHON: C:\Python39\python.exe
PYTHON_HOME: C:\Python39
PYTHON_VERSION: '3.9'
PYTHON_ARCH: '32'
WHEEL_PATH: .tox/dist
- TOXENV: py39-nocov
TOXPYTHON: C:\Python39-x64\python.exe
PYTHON_HOME: C:\Python39-x64
PYTHON_VERSION: '3.9'
PYTHON_ARCH: '64'
WHEEL_PATH: .tox/dist
init:
- ps: echo $env:TOXENV
- ps: ls C:\Python*
Expand Down
124 changes: 69 additions & 55 deletions .cookiecutterrc
Original file line number Diff line number Diff line change
@@ -1,56 +1,70 @@
# Generated by cookiepatcher, a small shim around cookiecutter (pip install cookiepatcher)
# This file exists so you can easily regenerate your project.
#
# `cookiepatcher` is a convenient shim around `cookiecutter`
# for regenerating projects (it will generate a .cookiecutterrc
# automatically for any template). To use it:
#
# pip install cookiepatcher
# cookiepatcher gh:ionelmc/cookiecutter-pylibrary python-nameless
#
# See:
# https://pypi.org/project/cookiepatcher
#
# Alternatively, you can run:
#
# cookiecutter --overwrite-if-exists --config-file=python-nameless/.cookiecutterrc gh:ionelmc/cookiecutter-pylibrary

cookiecutter:
_extensions:
- jinja2_time.TimeExtension
_template: /home/ionel/open-source/cookiecutter-pylibrary
allow_tests_inside_package: no
appveyor: yes
c_extension_function: longest
c_extension_module: _nameless
c_extension_optional: yes
c_extension_support: cython
c_extension_test_pypi: yes
c_extension_test_pypi_username: ionel
codacy: yes
codacy_projectid: 862e7946eabb4112be6503a667381b71
codeclimate: yes
codecov: yes
command_line_interface: argparse
command_line_interface_bin_name: nameless
coveralls: yes
coveralls_token: IoRlAEvnKbwbhBJ2jrWPqzAnE2jobA0I3
distribution_name: nameless
email: [email protected]
full_name: Ionel Cristian Mărieș
landscape: yes
license: BSD 2-Clause License
linter: flake8
package_name: nameless
pre_commit: yes
project_name: Nameless
project_short_description: An example package. Generated with cookiecutter-pylibrary.
pypi_badge: yes
pypi_disable_upload: no
release_date: today
repo_hosting: github.com
repo_hosting_domain: github.com
repo_name: python-nameless
repo_username: ionelmc
requiresio: yes
scrutinizer: yes
setup_py_uses_setuptools_scm: yes
setup_py_uses_test_runner: no
sphinx_docs: yes
sphinx_docs_hosting: https://python-nameless.readthedocs.io/
sphinx_doctest: yes
sphinx_theme: sphinx-rtd-theme
test_matrix_configurator: no
test_matrix_separate_coverage: yes
test_runner: pytest
travis: yes
travis_osx: yes
version: 0.1.0
website: https://blog.ionelmc.ro
year_from: '2019'
year_to: '2020'
default_context:

_extensions: ['jinja2_time.TimeExtension']
_template: 'https://github.com/ionelmc/cookiecutter-pylibrary'
allow_tests_inside_package: 'no'
appveyor: 'yes'
c_extension_function: 'longest'
c_extension_module: '_nameless'
c_extension_optional: 'yes'
c_extension_support: 'cython'
c_extension_test_pypi: 'yes'
c_extension_test_pypi_username: 'ionel'
codacy: 'yes'
codacy_projectid: '862e7946eabb4112be6503a667381b71'
codeclimate: 'yes'
codecov: 'yes'
command_line_interface: 'argparse'
command_line_interface_bin_name: 'nameless'
coveralls: 'yes'
coveralls_token: 'IoRlAEvnKbwbhBJ2jrWPqzAnE2jobA0I3'
distribution_name: 'nameless'
email: '[email protected]'
full_name: 'Ionel Cristian Mărieș'
landscape: 'yes'
license: 'BSD 2-Clause License'
linter: 'flake8'
package_name: 'nameless'
pre_commit: 'yes'
project_name: 'Nameless'
project_short_description: 'An example package. Generated with cookiecutter-pylibrary.'
pypi_badge: 'yes'
pypi_disable_upload: 'no'
release_date: 'today'
repo_hosting: 'github.com'
repo_hosting_domain: 'github.com'
repo_name: 'python-nameless'
repo_username: 'ionelmc'
requiresio: 'yes'
scrutinizer: 'yes'
setup_py_uses_setuptools_scm: 'yes'
setup_py_uses_test_runner: 'no'
sphinx_docs: 'yes'
sphinx_docs_hosting: 'https://python-nameless.readthedocs.io/'
sphinx_doctest: 'yes'
sphinx_theme: 'sphinx-rtd-theme'
test_matrix_configurator: 'no'
test_matrix_separate_coverage: 'yes'
test_runner: 'pytest'
travis: 'yes'
travis_osx: 'yes'
version: '0.1.0'
website: 'https://blog.ionelmc.ro'
year_from: '2019'
year_to: '2020'
63 changes: 63 additions & 0 deletions .cruft.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"template": "https://github.com/ionelmc/cookiecutter-pylibrary",
"commit": "4d466127dc4b94e71f8a3432b8ffaa3586be6213",
"context": {
"cookiecutter": {
"full_name": "Ionel Cristian Mărieș",
"email": "[email protected]",
"website": "https://blog.ionelmc.ro",
"project_name": "Nameless",
"repo_name": "python-nameless",
"repo_hosting": "github.com",
"repo_hosting_domain": "github.com",
"repo_username": "ionelmc",
"package_name": "nameless",
"distribution_name": "nameless",
"project_short_description": "An example package. Generated with cookiecutter-pylibrary.",
"release_date": "today",
"year_from": "2019",
"year_to": "2020",
"version": "0.1.0",
"license": "BSD 2-Clause License",
"c_extension_support": "cython",
"c_extension_optional": "yes",
"c_extension_module": "_nameless",
"c_extension_function": "longest",
"c_extension_test_pypi": "yes",
"c_extension_test_pypi_username": "ionel",
"test_matrix_configurator": "no",
"test_matrix_separate_coverage": "yes",
"test_runner": "pytest",
"setup_py_uses_test_runner": "no",
"setup_py_uses_setuptools_scm": "yes",
"pypi_badge": "yes",
"pypi_disable_upload": "no",
"allow_tests_inside_package": "no",
"linter": "flake8",
"pre_commit": "yes",
"command_line_interface": "argparse",
"command_line_interface_bin_name": "nameless",
"coveralls": "yes",
"coveralls_token": "IoRlAEvnKbwbhBJ2jrWPqzAnE2jobA0I3",
"codecov": "yes",
"landscape": "yes",
"scrutinizer": "yes",
"codacy": "yes",
"codacy_projectid": "862e7946eabb4112be6503a667381b71",
"codeclimate": "yes",
"sphinx_docs": "yes",
"sphinx_theme": "sphinx-rtd-theme",
"sphinx_doctest": "yes",
"sphinx_docs_hosting": "https://python-nameless.readthedocs.io/",
"travis": "yes",
"travis_osx": "yes",
"appveyor": "yes",
"requiresio": "yes",
"_extensions": [
"jinja2_time.TimeExtension"
],
"_template": "https://github.com/ionelmc/cookiecutter-pylibrary"
}
},
"directory": null
}
22 changes: 15 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: python
dist: xenial
virt: lxd
cache: false
env:
global:
Expand Down Expand Up @@ -54,24 +55,31 @@ matrix:
- TOXENV=py37-nocov
- WHEEL_MANYLINUX="1 cp37"
python: '3.7'
- env:
- TOXENV=py38-cover,codecov,extension-coveralls,coveralls
python: '3.8'
- env:
- TOXENV=py38-nocov
- WHEEL_MANYLINUX="1 cp38"
python: '3.8'
- os: osx
osx_image: xcode11
language: generic
env:
- TOXENV=py38-cover
- TOXENV=py39-cover
- env:
- TOXENV=py38-cover,codecov,extension-coveralls,coveralls
python: '3.8'
- TOXENV=py39-cover,codecov,extension-coveralls,coveralls
python: '3.9'
- os: osx
osx_image: xcode11
language: generic
env:
- TOXENV=py38-nocov
- TOXENV=py39-nocov
- WHEEL_PATH=.tox/dist
- env:
- TOXENV=py38-nocov
- WHEEL_MANYLINUX="1 cp38"
python: '3.8'
- TOXENV=py39-nocov
- WHEEL_MANYLINUX="1 cp39"
python: '3.9'
- env:
- TOXENV=pypy-cover,codecov,extension-coveralls,coveralls
python: 'pypy'
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Changelog
=========

0.1.0 (2020-08-06)
0.1.0 (2020-11-02)
------------------

* First release on PyPI.
3 changes: 2 additions & 1 deletion ci/templates/.travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
language: python
dist: xenial
virt: lxd
cache: false
env:
global:
Expand All @@ -16,7 +17,7 @@ matrix:
env:
- TOXENV=docs
{%- for env in tox_environments %}{{ '' }}
{%- if 'py38' in env or 'py27' in env %}{{ '' }}
{%- if 'py39' in env or 'py27' in env %}{{ '' }}
- os: osx
osx_image: xcode11
language: generic
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ def read(*names, **kwargs):
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
# uncomment if you test on these interpreters:
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ envlist =
clean,
check,
docs,
{py27,py35,py36,py37,py38,pypy,pypy3}-{cover,nocov},
{py27,py35,py36,py37,py38,py39,pypy,pypy3}-{cover,nocov},
report
ignore_basepython_conflict = true

Expand All @@ -29,6 +29,7 @@ basepython =
py36: {env:TOXPYTHON:python3.6}
py37: {env:TOXPYTHON:python3.7}
py38: {env:TOXPYTHON:python3.8}
py39: {env:TOXPYTHON:python3.9}
{bootstrap,clean,check,report,docs,codecov,coveralls,extension-coveralls}: {env:TOXPYTHON:python3}
setenv =
PYTHONPATH={toxinidir}/tests
Expand Down

0 comments on commit 8e2a20a

Please sign in to comment.