From b93b3a0348e9a17ec323f74eb9eb0ec8e82367ff Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Tue, 24 May 2016 12:21:58 -0400 Subject: [PATCH 1/8] Exclude the skeleton branch from testing --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index c5f3495..bb6d47e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,9 @@ python: script: - pip install -U pytest - python setup.py test +branches: + except: + - skeleton deploy: provider: pypi on: From efa552e7ee31d0fb1dab3d1a2986cad0834b04f6 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Wed, 3 Aug 2016 09:51:36 -0400 Subject: [PATCH 2/8] Add badges for PyPI, downloads, and Travis-CI. --- README.rst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.rst b/README.rst index 217a075..e739bf5 100644 --- a/README.rst +++ b/README.rst @@ -1,2 +1,11 @@ skeleton ======== + +.. image:: https://badge.fury.io/py/skeleton.svg + :target: https://badge.fury.io/py/skeleton + +.. image:: https://pypip.in/d/skeleton/badge.png + :target: https://crate.io/packages/skeleton/ + +.. image:: https://secure.travis-ci.org/jaraco/skeleton.png + :target: http://travis-ci.org/jaraco/skeleton From e2900e901e9c24eb7ebf59792dc198bf0bd27cc8 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Wed, 3 Aug 2016 09:54:22 -0400 Subject: [PATCH 3/8] Change indentation to match that which the travis tool generates when adding the password. --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index bb6d47e..4abbe30 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ script: - python setup.py test branches: except: - - skeleton + - skeleton deploy: provider: pypi on: From c8c034e68873e40ed55f0b9f04afc5949eb54727 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Wed, 3 Aug 2016 10:07:15 -0400 Subject: [PATCH 4/8] Use shields.io, as some of these other providers seem to have gone out of business. --- README.rst | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.rst b/README.rst index e739bf5..3324964 100644 --- a/README.rst +++ b/README.rst @@ -1,11 +1,10 @@ skeleton ======== -.. image:: https://badge.fury.io/py/skeleton.svg - :target: https://badge.fury.io/py/skeleton +.. image:: https://img.shields.io/pypi/v/skeleton.svg + :target: https://pypi.io/project/skeleton -.. image:: https://pypip.in/d/skeleton/badge.png - :target: https://crate.io/packages/skeleton/ +.. image:: https://img.shields.io/pypi/dm/skeleton.svg -.. image:: https://secure.travis-ci.org/jaraco/skeleton.png - :target: http://travis-ci.org/jaraco/skeleton +.. image:: https://img.shields.io/travis/jaraco/skeleton/master.svg + :target: http://travis-ci.org/jaraco/skeleton From 3f61a73b657a7a845f0f7fdbcebbf92c7f8e6c22 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Wed, 3 Aug 2016 10:13:55 -0400 Subject: [PATCH 5/8] Also add pyversions --- README.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.rst b/README.rst index 3324964..db95581 100644 --- a/README.rst +++ b/README.rst @@ -4,6 +4,8 @@ skeleton .. image:: https://img.shields.io/pypi/v/skeleton.svg :target: https://pypi.io/project/skeleton +.. image:: https://img.shields.io/pypi/pyversions/skeleton.svg + .. image:: https://img.shields.io/pypi/dm/skeleton.svg .. image:: https://img.shields.io/travis/jaraco/skeleton/master.svg From dfb1a9424d373fb2f949f2d45f79d8008ede276b Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Mon, 8 Aug 2016 14:49:32 -0400 Subject: [PATCH 6/8] Path is now .org --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index db95581..75c0b4f 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ skeleton ======== .. image:: https://img.shields.io/pypi/v/skeleton.svg - :target: https://pypi.io/project/skeleton + :target: https://pypi.org/project/skeleton .. image:: https://img.shields.io/pypi/pyversions/skeleton.svg From 7edaa321dead30e33accdb7512f9e95bbef9fe38 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Tue, 9 Aug 2016 09:50:49 -0400 Subject: [PATCH 7/8] Update release process to use warehouse rather than legacy PyPI. Ref pypa/warehouse#1422. --- .travis.yml | 3 ++- setup.cfg | 6 +++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4abbe30..9f4c517 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,10 +11,11 @@ branches: - skeleton deploy: provider: pypi + server: https://upload.pypi.org/legacy/ on: tags: true all_branches: true python: 3.5 user: jaraco # supply password with `travis encrypt --add deploy.password` - distributions: release + distributions: dists diff --git a/setup.cfg b/setup.cfg index 8004dcb..dcd8d12 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,10 @@ [aliases] -release = clean --all sdist bdist_wheel build_sphinx upload upload_docs +release = dists build_sphinx upload upload_docs +dists = clean --all sdist bdist_wheel test = pytest [wheel] universal = 1 + +[upload] +repository = https://upload.pypi.org/legacy/ From d024388cac7d3804c763e6f5656e75a6bde7d33c Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Mon, 15 Aug 2016 09:51:41 -0400 Subject: [PATCH 8/8] The name of the project need not be in the README --- README.rst | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.rst b/README.rst index 75c0b4f..1c5d10e 100644 --- a/README.rst +++ b/README.rst @@ -1,6 +1,3 @@ -skeleton -======== - .. image:: https://img.shields.io/pypi/v/skeleton.svg :target: https://pypi.org/project/skeleton