-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows + PyPI is still broken. #1009
Comments
If someone comes across this: You can do a manual deploy via a script instead. This is what worked for my use case, not everything might be necessary for a minimal setup though! You might want to fine-tune the script for your use case. file .travis.yml: os: windows
language: sh
install: choco install python --version 3.6.8
env: PATH=/c/Python36:/c/Python36/Scripts:$PATH
script: python --version
deploy:
skip_cleanup: true
provider: script
script: bash ./.travis/deploy.sh file .travis/deploy.sh: pip install twine wheel
python ./setup.py sdist bdist_wheel
twine upload \
--username "************" \
--password "************" \
./dist/* Installing python3 takes quite some time, but I couldn't get it to work out of the box with the pre-installed python2 and I needed a python 3.6 wheel anyways. |
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
Has it been resolved? I still see |
It has not been resolved |
Thanks for contributing to this issue. As it has been 90 days since the last activity, we are automatically closing the issue. This is often because the request was already solved in some way and it just wasn't updated or it's no longer applicable. If that's not the case, please do feel free to either reopen this issue or open a new one. We'll gladly take a look again! You can read more here: https://blog.travis-ci.com/2018-03-09-closing-old-issues |
Still having the same issue! |
Original issue #955 was closed by a bot, but the issue still hasn't been fixed! Repeated here:
I've recently tried deployment using Travis and Windows. The error I get when installing deployment requirements:
It seems like it tries to use
cmd
instead ofbash
. I've dig into the source code and found this so I think that-z
comes from this line. I don't know if it is enough to just prefix this command withbash -c
. What I am afraid of here is that Windows uses git bash for its build scripts andcmd
is used here so I am not sure whether virtual environment would be even preserved here.The text was updated successfully, but these errors were encountered: