Skip to content

Commit 0d5faf2

Browse files
committed
Upgrade skel.
1 parent 775a141 commit 0d5faf2

15 files changed

+189
-155
lines changed

.bumpversion.cfg

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[bumpversion]
2+
current_version = 1.2.1
3+
commit = True
4+
tag = True
5+
6+
[bumpversion:file:setup.py]
7+
[bumpversion:file:docs/conf.py]
8+
[bumpversion:file:src/lazy_object_proxy/__init__.py]

.cookiecutterrc

+7-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55

66
default_context:
77

8+
appveyor: 'yes'
89
c_extension_optional: 'yes'
910
c_extension_support: 'yes'
11+
codacy: 'yes'
12+
codeclimate: 'yes'
1013
codecov: 'yes'
1114
command_line_interface: 'no'
1215
coveralls: 'yes'
@@ -18,12 +21,14 @@ default_context:
1821
package_name: 'lazy_object_proxy'
1922
project_name: 'lazy-object-proxy'
2023
project_short_description: 'A fast and thorough lazy object proxy.'
21-
release_date: '2015-04-11'
24+
release_date: '2015-08-18'
2225
repo_name: 'python-lazy-object-proxy'
26+
requiresio: 'yes'
2327
scrutinizer: 'yes'
2428
sphinx_theme: 'sphinx-py3doc-enhanced-theme'
2529
test_matrix_configurator: 'yes'
2630
test_runner: 'pytest'
27-
version: '1.0.2'
31+
travis: 'yes'
32+
version: '1.2.1'
2833
website: 'http://blog.ionelmc.ro'
2934
year: '2014-2015'

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
dist
1010
build
1111
eggs
12+
.eggs
1213
parts
1314
bin
1415
var
@@ -28,6 +29,7 @@ pip-log.txt
2829
.tox
2930
.coverage.*
3031
nosetests.xml
32+
coverage.xml
3133
htmlcov
3234

3335
# Translations

.travis.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,19 @@ env:
2020
- TOXENV=pypy-nocover
2121
before_install:
2222
- python --version
23-
- virtualenv --version
24-
- pip --version
2523
- uname -a
2624
- lsb_release -a
2725
install:
2826
- pip install tox
27+
- virtualenv --version
28+
- easy_install --version
29+
- pip --version
30+
- tox --version
2931
script:
3032
- tox -v
33+
after_failure:
34+
- more .tox/log/* | cat
35+
- more .tox/*/log/* | cat
3136
notifications:
3237
email:
3338
on_success: never

MANIFEST.in

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ include README.rst
1818

1919
include tox.ini .travis.yml appveyor.yml
2020

21-
global-exclude *.py[cod] __pycache__ *.so
21+
global-exclude *.py[cod] __pycache__ *.so *.dylib

README.rst

+26-17
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,71 @@
1-
===============================
1+
=================
22
lazy-object-proxy
3-
===============================
3+
=================
44

55
.. list-table::
66
:stub-columns: 1
77

88
* - docs
99
- |docs|
1010
* - tests
11-
- | |travis| |appveyor|
12-
| |coveralls| |codecov| |landscape| |scrutinizer|
11+
- | |travis| |appveyor| |requires|
12+
| |coveralls| |codecov|
13+
| |landscape| |scrutinizer| |codacy| |codeclimate|
1314
* - package
14-
- |version| |downloads|
15-
16-
..
17-
|wheel| |supported-versions| |supported-implementations|
15+
- |version| |downloads| |wheel| |supported-versions| |supported-implementations|
1816

1917
.. |docs| image:: https://readthedocs.org/projects/python-lazy-object-proxy/badge/?style=flat
2018
:target: https://readthedocs.org/projects/python-lazy-object-proxy
2119
:alt: Documentation Status
2220

23-
.. |travis| image:: http://img.shields.io/travis/ionelmc/python-lazy-object-proxy/master.svg?style=flat&label=Travis
21+
.. |travis| image:: https://travis-ci.org/ionelmc/python-lazy-object-proxy.svg?branch=master
2422
:alt: Travis-CI Build Status
2523
:target: https://travis-ci.org/ionelmc/python-lazy-object-proxy
2624

27-
.. |appveyor| image:: https://img.shields.io/appveyor/ci/ionelmc/python-lazy-object-proxy/master.svg?style=flat&label=AppVeyor
25+
.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/ionelmc/python-lazy-object-proxy?branch=master&svg=true
2826
:alt: AppVeyor Build Status
2927
:target: https://ci.appveyor.com/project/ionelmc/python-lazy-object-proxy
3028

31-
.. |coveralls| image:: http://img.shields.io/coveralls/ionelmc/python-lazy-object-proxy/master.svg?style=flat&label=Coveralls
29+
.. |requires| image:: https://requires.io/github/ionelmc/python-lazy-object-proxy/requirements.svg?branch=master
30+
:alt: Requirements Status
31+
:target: https://requires.io/github/ionelmc/python-lazy-object-proxy/requirements/?branch=master
32+
33+
.. |coveralls| image:: https://coveralls.io/repos/ionelmc/python-lazy-object-proxy/badge.svg?branch=master&service=github
3234
:alt: Coverage Status
3335
:target: https://coveralls.io/r/ionelmc/python-lazy-object-proxy
3436

35-
.. |codecov| image:: http://img.shields.io/codecov/c/github/ionelmc/python-lazy-object-proxy/master.svg?style=flat&label=Codecov
37+
.. |codecov| image:: https://codecov.io/github/ionelmc/python-lazy-object-proxy/coverage.svg?branch=master
3638
:alt: Coverage Status
3739
:target: https://codecov.io/github/ionelmc/python-lazy-object-proxy
3840

3941
.. |landscape| image:: https://landscape.io/github/ionelmc/python-lazy-object-proxy/master/landscape.svg?style=flat
4042
:target: https://landscape.io/github/ionelmc/python-lazy-object-proxy/master
4143
:alt: Code Quality Status
4244

43-
.. |version| image:: http://img.shields.io/pypi/v/lazy-object-proxy.svg?style=flat
45+
.. |codacy| image:: https://img.shields.io/codacy/REPLACE_WITH_PROJECT_ID.svg?style=flat
46+
:target: https://www.codacy.com/app/ionelmc/python-lazy-object-proxy
47+
:alt: Codacy Code Quality Status
48+
49+
.. |codeclimate| image:: https://codeclimate.com/github/ionelmc/python-lazy-object-proxy/badges/gpa.svg
50+
:target: https://codeclimate.com/github/ionelmc/python-lazy-object-proxy
51+
:alt: CodeClimate Quality Status
52+
.. |version| image:: https://img.shields.io/pypi/v/lazy-object-proxy.svg?style=flat
4453
:alt: PyPI Package latest release
4554
:target: https://pypi.python.org/pypi/lazy-object-proxy
4655

47-
.. |downloads| image:: http://img.shields.io/pypi/dm/lazy-object-proxy.svg?style=flat
56+
.. |downloads| image:: https://img.shields.io/pypi/dm/lazy-object-proxy.svg?style=flat
4857
:alt: PyPI Package monthly downloads
4958
:target: https://pypi.python.org/pypi/lazy-object-proxy
5059

51-
.. |wheel| image:: https://pypip.in/wheel/lazy-object-proxy/badge.svg?style=flat
60+
.. |wheel| image:: https://img.shields.io/pypi/wheel/lazy-object-proxy.svg?style=flat
5261
:alt: PyPI Wheel
5362
:target: https://pypi.python.org/pypi/lazy-object-proxy
5463

55-
.. |supported-versions| image:: https://pypip.in/py_versions/lazy-object-proxy/badge.svg?style=flat
64+
.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/lazy-object-proxy.svg?style=flat
5665
:alt: Supported versions
5766
:target: https://pypi.python.org/pypi/lazy-object-proxy
5867

59-
.. |supported-implementations| image:: https://pypip.in/implementation/lazy-object-proxy/badge.svg?style=flat
68+
.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/lazy-object-proxy.svg?style=flat
6069
:alt: Supported implementations
6170
:target: https://pypi.python.org/pypi/lazy-object-proxy
6271

appveyor.yml

+6-30
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@ environment:
88
PYTHON_HOME: "C:\\Python27"
99
PYTHON_VERSION: "2.7"
1010
PYTHON_ARCH: "32"
11-
- TOXENV: "2.7"
11+
- TOXENV: "2.7,codecov"
1212
TOXPYTHON: "C:\\Python27\\python.exe"
1313
WINDOWS_SDK_VERSION: "v7.0"
1414
PYTHON_HOME: "C:\\Python27"
1515
PYTHON_VERSION: "2.7"
1616
PYTHON_ARCH: "32"
17-
- TOXENV: "2.7"
17+
- TOXENV: "2.7,codecov"
1818
TOXPYTHON: "C:\\Python27-x64\\python.exe"
1919
WINDOWS_SDK_VERSION: "v7.0"
2020
PYTHON_HOME: "C:\\Python27-x64"
@@ -32,13 +32,13 @@ environment:
3232
PYTHON_HOME: "C:\\Python27-x64"
3333
PYTHON_VERSION: "2.7"
3434
PYTHON_ARCH: "64"
35-
- TOXENV: "3.3"
35+
- TOXENV: "3.3,codecov"
3636
TOXPYTHON: "C:\\Python33\\python.exe"
3737
WINDOWS_SDK_VERSION: "v7.1"
3838
PYTHON_HOME: "C:\\Python33"
3939
PYTHON_VERSION: "3.3"
4040
PYTHON_ARCH: "32"
41-
- TOXENV: "3.3"
41+
- TOXENV: "3.3,codecov"
4242
TOXPYTHON: "C:\\Python33-x64\\python.exe"
4343
WINDOWS_SDK_VERSION: "v7.1"
4444
PYTHON_HOME: "C:\\Python33-x64"
@@ -56,13 +56,13 @@ environment:
5656
PYTHON_HOME: "C:\\Python33-x64"
5757
PYTHON_VERSION: "3.3"
5858
PYTHON_ARCH: "64"
59-
- TOXENV: "3.4"
59+
- TOXENV: "3.4,codecov"
6060
TOXPYTHON: "C:\\Python34\\python.exe"
6161
WINDOWS_SDK_VERSION: "v7.1"
6262
PYTHON_HOME: "C:\\Python34"
6363
PYTHON_VERSION: "3.4"
6464
PYTHON_ARCH: "32"
65-
- TOXENV: "3.4"
65+
- TOXENV: "3.4,codecov"
6666
TOXPYTHON: "C:\\Python34-x64\\python.exe"
6767
WINDOWS_SDK_VERSION: "v7.1"
6868
PYTHON_HOME: "C:\\Python34-x64"
@@ -80,30 +80,6 @@ environment:
8080
PYTHON_HOME: "C:\\Python34-x64"
8181
PYTHON_VERSION: "3.4"
8282
PYTHON_ARCH: "64"
83-
- TOXENV: "3.5"
84-
TOXPYTHON: "C:\\Python35\\python.exe"
85-
WINDOWS_SDK_VERSION: "v7.1"
86-
PYTHON_HOME: "C:\\Python35"
87-
PYTHON_VERSION: "3.5"
88-
PYTHON_ARCH: "32"
89-
- TOXENV: "3.5"
90-
TOXPYTHON: "C:\\Python35-x64\\python.exe"
91-
WINDOWS_SDK_VERSION: "v7.1"
92-
PYTHON_HOME: "C:\\Python35-x64"
93-
PYTHON_VERSION: "3.5"
94-
PYTHON_ARCH: "64"
95-
- TOXENV: "3.5-nocover"
96-
TOXPYTHON: "C:\\Python35\\python.exe"
97-
WINDOWS_SDK_VERSION: "v7.1"
98-
PYTHON_HOME: "C:\\Python35"
99-
PYTHON_VERSION: "3.5"
100-
PYTHON_ARCH: "32"
101-
- TOXENV: "3.5-nocover"
102-
TOXPYTHON: "C:\\Python35-x64\\python.exe"
103-
WINDOWS_SDK_VERSION: "v7.1"
104-
PYTHON_HOME: "C:\\Python35-x64"
105-
PYTHON_VERSION: "3.5"
106-
PYTHON_ARCH: "64"
10783
init:
10884
- "ECHO %TOXENV%"
10985
- ps: "ls C:\\Python*"

ci/appveyor-bootstrap.ps1

+2-1
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,10 @@ function InstallPackage ($python_home, $pkg) {
8080
function main () {
8181
InstallPython $env:PYTHON_VERSION $env:PYTHON_ARCH $env:PYTHON_HOME
8282
InstallPip $env:PYTHON_HOME
83-
InstallPackage $env:PYTHON_HOME setuptools
83+
InstallPackage $env:PYTHON_HOME "setuptools>=18.0.1"
8484
InstallPackage $env:PYTHON_HOME wheel
8585
InstallPackage $env:PYTHON_HOME tox
86+
InstallPackage $env:PYTHON_HOME "virtualenv>=13.1.0"
8687
}
8788

8889
main

ci/templates/.travis.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,19 @@ env:
1212
{% endfor %}
1313
before_install:
1414
- python --version
15-
- virtualenv --version
16-
- pip --version
1715
- uname -a
1816
- lsb_release -a
1917
install:
2018
- pip install tox
19+
- virtualenv --version
20+
- easy_install --version
21+
- pip --version
22+
- tox --version
2123
script:
2224
- tox -v
25+
after_failure:
26+
- more .tox/log/* | cat
27+
- more .tox/*/log/* | cat
2328
notifications:
2429
email:
2530
on_success: never

ci/templates/appveyor.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ environment:
88
PYTHON_HOME: "C:\\Python27"
99
PYTHON_VERSION: "2.7"
1010
PYTHON_ARCH: "32"
11-
{% for env, config in tox_environments|dictsort %}{% if env.startswith(('2.7', '3.3', '3.4', '3.5')) %}
12-
- TOXENV: "{{ env }}"
11+
{% for env, config in tox_environments|dictsort %}{% if env.startswith('2.7') or env.startswith('3.4') or env.startswith('3.3') %}
12+
- TOXENV: "{{ env }}{% if config.cover %},codecov{% endif %}"
1313
TOXPYTHON: "C:\\Python{{ env[:3].replace('.', '') }}\\python.exe"
1414
WINDOWS_SDK_VERSION: "v7.{{ '1' if env[0] == '3' else '0' }}"
1515
PYTHON_HOME: "C:\\Python{{ env[:3].replace('.', '') }}"
1616
PYTHON_VERSION: "{{ env[:3] }}"
1717
PYTHON_ARCH: "32"
18-
- TOXENV: "{{ env }}"
18+
- TOXENV: "{{ env }}{% if config.cover %},codecov{% endif %}"
1919
TOXPYTHON: "C:\\Python{{ env[:3].replace('.', '') }}-x64\\python.exe"
2020
WINDOWS_SDK_VERSION: "v7.{{ '1' if env[0] == '3' else '0' }}"
2121
PYTHON_HOME: "C:\\Python{{ env[:3].replace('.', '') }}-x64"

0 commit comments

Comments
 (0)