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
Build Python3 wheels #366
Projects
Comments
brunobord
added a commit
to brunobord/workalendar
that referenced
this issue
Jun 7, 2019
released on 2019-03-15 **New Calendar** - Added Barbados by @ludsoft. **Fixes** - Added isolated tests for shifting mechanics in USA calendars - previously untested (workalendar#335). - Added Berlin specific holidays (workalendar#340). - Added several one-off public holidays to UK calendar (workalendar#366).
(if you're building wheels for py3 only, then you won't need the "universal = True" that everyone puts everywhere) |
here's the script I've used (yes, it could've been bash, but I never remember how to make a loop): from shell import shell
from distutils.version import StrictVersion
result = shell('git tag')
tags = result.output()
tags = filter(lambda x: not x.startswith('v'), tags) # That was a mistake
tags = filter(lambda x: StrictVersion(x) >= StrictVersion("1.0.0"), tags)
for tag in tags:
print(tag)
shell(f'git checkout {tag}')
shell('rm -Rf build/')
result = shell('python setup.py bdist_wheel')
if result.code:
print(result.errors())
shell('git checkout master') |
currently uploading every wheel from 1.0.0 to the latest release without any Py3 wheel. |
👏 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This needs to be scripted:
build/
repository before rebuilding (following @ewjoachim's advice)The text was updated successfully, but these errors were encountered: