Skip to content

Commit

Permalink
Few skel updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Jan 12, 2019
1 parent aea1d25 commit edf3341
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 202 deletions.
6 changes: 3 additions & 3 deletions .cookiecutterrc
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cookiecutter:
package_name: hunter
project_name: Hunter
project_short_description: Hunter is a flexible code tracing toolkit, not for measuring coverage, but for debugging, logging, inspection and other nefarious purposes. It has a simple Python API and a convenient terminal API (see `Environment variable activation <env-var-activation_>`_).
release_date: '2017-11-24'
release_date: '2018-11-17'
repo_name: python-hunter
requiresio: yes
scrutinizer: no
Expand All @@ -34,6 +34,6 @@ cookiecutter:
test_matrix_separate_coverage: yes
test_runner: pytest
travis: yes
version: 2.0.2
version: 2.1.0
website: https://blog.ionelmc.ro
year: 2015-2018
year: 2015-2019
4 changes: 2 additions & 2 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BSD License
BSD 2-Clause License

Copyright (c) 2015-2017, Ionel Cristian Mărieș
Copyright (c) 2015-2019, Ionel Cristian Mărieș
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the
Expand Down
10 changes: 4 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,10 @@ Overview
* - package
- | |version| |wheel| |supported-versions| |supported-implementations|
| |commits-since|
.. |docs| image:: https://readthedocs.org/projects/python-hunter/badge/?style=flat
:target: https://readthedocs.org/projects/python-hunter
:alt: Documentation Status


.. |travis| image:: https://travis-ci.org/ionelmc/python-hunter.svg?branch=master
:alt: Travis-CI Build Status
:target: https://travis-ci.org/ionelmc/python-hunter
Expand All @@ -43,23 +41,23 @@ Overview

.. |version| image:: https://img.shields.io/pypi/v/hunter.svg
:alt: PyPI Package latest release
:target: https://pypi.python.org/pypi/hunter
:target: https://pypi.org/project/hunter

.. |commits-since| image:: https://img.shields.io/github/commits-since/ionelmc/python-hunter/v2.1.0.svg
:alt: Commits since latest release
:target: https://github.com/ionelmc/python-hunter/compare/v2.1.0...master

.. |wheel| image:: https://img.shields.io/pypi/wheel/hunter.svg
:alt: PyPI Wheel
:target: https://pypi.python.org/pypi/hunter
:target: https://pypi.org/project/hunter

.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/hunter.svg
:alt: Supported versions
:target: https://pypi.python.org/pypi/hunter
:target: https://pypi.org/project/hunter

.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/hunter.svg
:alt: Supported implementations
:target: https://pypi.python.org/pypi/hunter
:target: https://pypi.org/project/hunter


.. end-badges
Expand Down
8 changes: 1 addition & 7 deletions ci/appveyor-bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@
with various fixes and improvements that just weren't feasible to implement in PowerShell.
"""
from __future__ import print_function

from os import environ
from os.path import exists
from subprocess import CalledProcessError
from subprocess import check_call

try:
Expand All @@ -22,8 +20,6 @@
URLS = {
("2.7", "64"): BASE_URL + "2.7.13/python-2.7.13.amd64.msi",
("2.7", "32"): BASE_URL + "2.7.13/python-2.7.13.msi",
("3.3", "64"): BASE_URL + "3.3.5/python-3.3.5.amd64.msi",
("3.3", "32"): BASE_URL + "3.3.5/python-3.3.5.msi",
("3.4", "64"): BASE_URL + "3.4.4/python-3.4.4.amd64.msi",
("3.4", "32"): BASE_URL + "3.4.4/python-3.4.4.msi",
("3.5", "64"): BASE_URL + "3.5.4/python-3.5.4-amd64.exe",
Expand All @@ -35,8 +31,6 @@
# Commands are allowed to fail only if they are not the last command. Eg: uninstall (/x) allowed to fail.
"2.7": [["msiexec.exe", "/L*+!", "install.log", "/qn", "/x", "{path}"],
["msiexec.exe", "/L*+!", "install.log", "/qn", "/i", "{path}", "TARGETDIR={home}"]],
"3.3": [["msiexec.exe", "/L*+!", "install.log", "/qn", "/x", "{path}"],
["msiexec.exe", "/L*+!", "install.log", "/qn", "/i", "{path}", "TARGETDIR={home}"]],
"3.4": [["msiexec.exe", "/L*+!", "install.log", "/qn", "/x", "{path}"],
["msiexec.exe", "/L*+!", "install.log", "/qn", "/i", "{path}", "TARGETDIR={home}"]],
"3.5": [["{path}", "/quiet", "TargetDir={home}"]],
Expand Down Expand Up @@ -71,7 +65,7 @@ def install_python(version, arch, home):
print("Running:", " ".join(cmd))
try:
check_call(cmd)
except CalledProcessError as exc:
except Exception as exc:
print("Failed command", cmd, "with:", exc)
if exists("install.log"):
with open("install.log") as fh:
Expand Down
6 changes: 3 additions & 3 deletions ci/templates/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ environment:
WITH_COMPILER: 'cmd /E:ON /V:ON /C .\ci\appveyor-with-compiler.cmd'
matrix:
- TOXENV: check
TOXPYTHON: C:\Python27\python.exe
PYTHON_HOME: C:\Python27
PYTHON_VERSION: '2.7'
TOXPYTHON: C:\Python36\python.exe
PYTHON_HOME: C:\Python36
PYTHON_VERSION: '3.6'
PYTHON_ARCH: '32'
{% for env in tox_environments %}{{ '' }}{% if env.startswith(('py2', 'py3')) %}
- TOXENV: '{{ env }}{% if 'cover' in env %},report,codecov{% endif %}'
Expand Down
138 changes: 0 additions & 138 deletions ci/templates/tox.ini

This file was deleted.

2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
source_suffix = '.rst'
master_doc = 'index'
project = 'Hunter'
year = '2015-2018'
year = '2015-2019'
author = 'Ionel Cristian Mărieș'
copyright = '{0}, {1}'.format(year, author)
version = release = '2.1.0'
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ def _unavailable(self, e):
'Topic :: Utilities',
'Topic :: Software Development :: Debuggers',
],
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
keywords=[
'trace', 'tracer', 'settrace', 'debugger', 'debugging', 'code', 'source'
],
Expand Down
45 changes: 3 additions & 42 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ setenv =
{docs,pure}: SETUPPY_NOEXT=yes
passenv =
*
usedevelop = false
usedevelop =
cover: true
nocov: false
deps =
pytest
pytest-travis-fold
Expand Down Expand Up @@ -130,44 +132,3 @@ deps =
coverage
cython==0.29

[testenv:py27-pure-cover]
usedevelop = true

[testenv:py27-cython-cover]
usedevelop = true

[testenv:py34-pure-cover]
usedevelop = true

[testenv:py34-cython-cover]
usedevelop = true

[testenv:py35-pure-cover]
usedevelop = true

[testenv:py35-cython-cover]
usedevelop = true

[testenv:py36-pure-cover]
usedevelop = true

[testenv:py36-cython-cover]
usedevelop = true

[testenv:py37-pure-cover]
usedevelop = true

[testenv:py37-cython-cover]
usedevelop = true

[testenv:pypy-pure-cover]
usedevelop = true

[testenv:pypy-cython-cover]
usedevelop = true

[testenv:pypy3-pure-cover]
usedevelop = true

[testenv:pypy3-cython-cover]
usedevelop = true

0 comments on commit edf3341

Please sign in to comment.