Skip to content

Commit

Permalink
Ask about wheel distribution too, fixes #4793
Browse files Browse the repository at this point in the history
Code not tested and I'm not sure how this class works or how it writes to the `.travis.yml` file. Just trying to get the ball rolling
  • Loading branch information
Peter Bengtsson committed Sep 15, 2015
1 parent fcd712c commit 9922c08
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/travis/cli/setup/pypi.rb
Expand Up @@ -12,6 +12,8 @@ def run
config['password'] ||= ask("Password: ") { |q| q.echo = "*" }.to_s

on("release only tagged commits? ", config, 'tags' => true)
# the default of pypi `setup.py build` is the `sdist`
on("deploy as wheel file too? ", config, 'distributions' => 'sdist bdist_wheel')
end
end
end
Expand Down

0 comments on commit 9922c08

Please sign in to comment.