https://github.com/razerm/sqlalchemy-wheels
Wheel builder for Linux and macOS
https://github.com/razerm/sqlalchemy-wheels
Last synced: 3 months ago
JSON representation
Wheel builder for Linux and macOS
- Host: GitHub
- URL: https://github.com/razerm/sqlalchemy-wheels
- Owner: RazerM
- Created: 2016-12-03T00:23:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-03T16:28:30.000Z (over 7 years ago)
- Last Synced: 2025-01-29T15:35:12.538Z (4 months ago)
- Language: Shell
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# sqlalchemy-wheels
[![Travis CI][travis-img]][travis-link] [![AppVeyor CI][appveyor-img]][appveyor-link]
This repository is used to build wheels for Windows, Linux ([manylinux1][]), and macOS.
[manylinux1]: https://www.python.org/dev/peps/pep-0513/
# Setup
For PyPI uploads to work, set `PYPI_USERNAME` and `PYPI_PASSWORD` in `.travis.yml` and `appveyor.yml`.Instructions:
- [Travis](https://docs.travis-ci.com/user/encryption-keys/#Usage)
- [AppVeyor](https://www.appveyor.com/docs/build-configuration/#secure-variables)# Trigger a build
## Manually
1. Typically, edit both `appveyor.yml` and `.travis.yml`:
1. Set `BUILD_COMMIT` to a commit, tag, or branch. This would typically be a release tag.
2. Set `UPLOAD_TO_PYPI` to `true` or `false`.
2. Push the changes: `git commit -m "Build x.y.z" && git push`## Script
`pushbuild.sh` does the following:
- Sets `UPLOAD_TO_PYPI` to `true` unless `-u` is passed.
- Sets `BUILD_COMMIT` to the first positional argument.
- Commits and pushes the changes.
- Resets `UPLOAD_TO_PYPI` to `false`.
- Commits with `[skip ci]` then pushes.### Example
```bash
# Build 1.1.4 and upload to PyPI
./pushbuild.sh -u rel_1_1_4
# Build 1.0.0 but don't upload
./pushbuild.sh rel_1_0_0
```[travis-img]: https://travis-ci.org/RazerM/sqlalchemy-wheels.svg?branch=master
[travis-link]: https://travis-ci.org/RazerM/sqlalchemy-wheels
[appveyor-img]: https://ci.appveyor.com/api/projects/status/6p9xdrreco05flpv/branch/master?svg=true
[appveyor-link]: https://ci.appveyor.com/project/RazerM/sqlalchemy-wheels-i7f5s/branch/master