summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2016-08-09 09:50:49 -0400
committerJason R. Coombs <jaraco@jaraco.com>2016-08-09 09:50:49 -0400
commit7edaa321dead30e33accdb7512f9e95bbef9fe38 (patch)
tree0d3ea1e5ae1b255cdad2ebfb31018614f260d317
parentdfb1a9424d373fb2f949f2d45f79d8008ede276b (diff)
downloadpytest-runner-7edaa321dead30e33accdb7512f9e95bbef9fe38.tar.gz
Update release process to use warehouse rather than legacy PyPI. Ref pypa/warehouse#1422.
-rw-r--r--.travis.yml3
-rw-r--r--setup.cfg6
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/