From 7edaa321dead30e33accdb7512f9e95bbef9fe38 Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Tue, 9 Aug 2016 09:50:49 -0400 Subject: [PATCH] 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/