Skip to content

Commit edf3341

Browse files
committed
Few skel updates.
1 parent aea1d25 commit edf3341

File tree

9 files changed

+18
-202
lines changed

9 files changed

+18
-202
lines changed

.cookiecutterrc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cookiecutter:
2323
package_name: hunter
2424
project_name: Hunter
2525
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_>`_).
26-
release_date: '2017-11-24'
26+
release_date: '2018-11-17'
2727
repo_name: python-hunter
2828
requiresio: yes
2929
scrutinizer: no
@@ -34,6 +34,6 @@ cookiecutter:
3434
test_matrix_separate_coverage: yes
3535
test_runner: pytest
3636
travis: yes
37-
version: 2.0.2
37+
version: 2.1.0
3838
website: https://blog.ionelmc.ro
39-
year: 2015-2018
39+
year: 2015-2019

LICENSE

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
BSD License
1+
BSD 2-Clause License
22

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

66
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the

README.rst

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,10 @@ Overview
1515
* - package
1616
- | |version| |wheel| |supported-versions| |supported-implementations|
1717
| |commits-since|
18-
1918
.. |docs| image:: https://readthedocs.org/projects/python-hunter/badge/?style=flat
2019
:target: https://readthedocs.org/projects/python-hunter
2120
:alt: Documentation Status
2221

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

4442
.. |version| image:: https://img.shields.io/pypi/v/hunter.svg
4543
:alt: PyPI Package latest release
46-
:target: https://pypi.python.org/pypi/hunter
44+
:target: https://pypi.org/project/hunter
4745

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

5250
.. |wheel| image:: https://img.shields.io/pypi/wheel/hunter.svg
5351
:alt: PyPI Wheel
54-
:target: https://pypi.python.org/pypi/hunter
52+
:target: https://pypi.org/project/hunter
5553

5654
.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/hunter.svg
5755
:alt: Supported versions
58-
:target: https://pypi.python.org/pypi/hunter
56+
:target: https://pypi.org/project/hunter
5957

6058
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/hunter.svg
6159
:alt: Supported implementations
62-
:target: https://pypi.python.org/pypi/hunter
60+
:target: https://pypi.org/project/hunter
6361

6462

6563
.. end-badges

ci/appveyor-bootstrap.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,8 @@
55
with various fixes and improvements that just weren't feasible to implement in PowerShell.
66
"""
77
from __future__ import print_function
8-
98
from os import environ
109
from os.path import exists
11-
from subprocess import CalledProcessError
1210
from subprocess import check_call
1311

1412
try:
@@ -22,8 +20,6 @@
2220
URLS = {
2321
("2.7", "64"): BASE_URL + "2.7.13/python-2.7.13.amd64.msi",
2422
("2.7", "32"): BASE_URL + "2.7.13/python-2.7.13.msi",
25-
("3.3", "64"): BASE_URL + "3.3.5/python-3.3.5.amd64.msi",
26-
("3.3", "32"): BASE_URL + "3.3.5/python-3.3.5.msi",
2723
("3.4", "64"): BASE_URL + "3.4.4/python-3.4.4.amd64.msi",
2824
("3.4", "32"): BASE_URL + "3.4.4/python-3.4.4.msi",
2925
("3.5", "64"): BASE_URL + "3.5.4/python-3.5.4-amd64.exe",
@@ -35,8 +31,6 @@
3531
# Commands are allowed to fail only if they are not the last command. Eg: uninstall (/x) allowed to fail.
3632
"2.7": [["msiexec.exe", "/L*+!", "install.log", "/qn", "/x", "{path}"],
3733
["msiexec.exe", "/L*+!", "install.log", "/qn", "/i", "{path}", "TARGETDIR={home}"]],
38-
"3.3": [["msiexec.exe", "/L*+!", "install.log", "/qn", "/x", "{path}"],
39-
["msiexec.exe", "/L*+!", "install.log", "/qn", "/i", "{path}", "TARGETDIR={home}"]],
4034
"3.4": [["msiexec.exe", "/L*+!", "install.log", "/qn", "/x", "{path}"],
4135
["msiexec.exe", "/L*+!", "install.log", "/qn", "/i", "{path}", "TARGETDIR={home}"]],
4236
"3.5": [["{path}", "/quiet", "TargetDir={home}"]],
@@ -71,7 +65,7 @@ def install_python(version, arch, home):
7165
print("Running:", " ".join(cmd))
7266
try:
7367
check_call(cmd)
74-
except CalledProcessError as exc:
68+
except Exception as exc:
7569
print("Failed command", cmd, "with:", exc)
7670
if exists("install.log"):
7771
with open("install.log") as fh:

ci/templates/appveyor.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ environment:
77
WITH_COMPILER: 'cmd /E:ON /V:ON /C .\ci\appveyor-with-compiler.cmd'
88
matrix:
99
- TOXENV: check
10-
TOXPYTHON: C:\Python27\python.exe
11-
PYTHON_HOME: C:\Python27
12-
PYTHON_VERSION: '2.7'
10+
TOXPYTHON: C:\Python36\python.exe
11+
PYTHON_HOME: C:\Python36
12+
PYTHON_VERSION: '3.6'
1313
PYTHON_ARCH: '32'
1414
{% for env in tox_environments %}{{ '' }}{% if env.startswith(('py2', 'py3')) %}
1515
- TOXENV: '{{ env }}{% if 'cover' in env %},report,codecov{% endif %}'

ci/templates/tox.ini

Lines changed: 0 additions & 138 deletions
This file was deleted.

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
source_suffix = '.rst'
2424
master_doc = 'index'
2525
project = 'Hunter'
26-
year = '2015-2018'
26+
year = '2015-2019'
2727
author = 'Ionel Cristian Mărieș'
2828
copyright = '{0}, {1}'.format(year, author)
2929
version = release = '2.1.0'

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ def _unavailable(self, e):
152152
'Topic :: Utilities',
153153
'Topic :: Software Development :: Debuggers',
154154
],
155+
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*',
155156
keywords=[
156157
'trace', 'tracer', 'settrace', 'debugger', 'debugging', 'code', 'source'
157158
],

tox.ini

Lines changed: 3 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ setenv =
2525
{docs,pure}: SETUPPY_NOEXT=yes
2626
passenv =
2727
*
28-
usedevelop = false
28+
usedevelop =
29+
cover: true
30+
nocov: false
2931
deps =
3032
pytest
3133
pytest-travis-fold
@@ -130,44 +132,3 @@ deps =
130132
coverage
131133
cython==0.29
132134

133-
[testenv:py27-pure-cover]
134-
usedevelop = true
135-
136-
[testenv:py27-cython-cover]
137-
usedevelop = true
138-
139-
[testenv:py34-pure-cover]
140-
usedevelop = true
141-
142-
[testenv:py34-cython-cover]
143-
usedevelop = true
144-
145-
[testenv:py35-pure-cover]
146-
usedevelop = true
147-
148-
[testenv:py35-cython-cover]
149-
usedevelop = true
150-
151-
[testenv:py36-pure-cover]
152-
usedevelop = true
153-
154-
[testenv:py36-cython-cover]
155-
usedevelop = true
156-
157-
[testenv:py37-pure-cover]
158-
usedevelop = true
159-
160-
[testenv:py37-cython-cover]
161-
usedevelop = true
162-
163-
[testenv:pypy-pure-cover]
164-
usedevelop = true
165-
166-
[testenv:pypy-cython-cover]
167-
usedevelop = true
168-
169-
[testenv:pypy3-pure-cover]
170-
usedevelop = true
171-
172-
[testenv:pypy3-cython-cover]
173-
usedevelop = true

0 commit comments

Comments
 (0)