Skip to content

Commit 72d1db5

Browse files
committed
Fix upload to PyPI by Travis CI
* Add `bdist_wheel` to the uploaded distributions. This avoids the need for pip to run `setup.py` when installing the package, speeding up installation and avoiding potential environment issues. * `skip_existing` avoids CI failures due to "deploy" tasks being run several times by Travis for one tag pushed.
1 parent aeaec26 commit 72d1db5

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ deploy:
4343
user: theskumar
4444
password:
4545
secure: DXUkl4YSC2RCltChik1csvQulnVMQQpD/4i4u+6pEyUfBMYP65zFYSNwLh+jt+URyX+MpN/Er20+TZ/F/fu7xkru6/KBqKLugeXihNbwGhbHUIkjZT/0dNSo03uAz6s5fWgqr8EJk9Ll71GexAsBPx2yqsjc2BMgOjwcNly40Co=
46+
distributions: "sdist bdist_wheel"
47+
skip_existing: true
4648
on:
4749
tags: true
4850
repo: theskumar/python-dotenv

0 commit comments

Comments
 (0)