|
11 | 11 | 4. Wait for the Travis CI and Appveyor builds to complete.
|
12 | 12 | 5. Make sure there's nothing in your `typed_ast/dist` directory.
|
13 | 13 | 6. Run `python3 setup.py sdist` (this creates `dist/typed-ast-VERSION.tar.gz`).
|
14 |
| -7. Download the wheels from Travis-CI and Appveyor. This can be done using |
15 |
| - `tools/download_typed_ast.py`, or manually: |
16 |
| - |
17 |
| - 1. Find the Appveyor build for the tag |
18 |
| - [here](https://ci.appveyor.com/project/ddfisher/typed-ast-a4xqu/history) and |
19 |
| - download the artifact produced by each job into the `dist` directory. |
20 |
| - 2. Download [the latest manylinux |
21 |
| - wheels](https://console.cloud.google.com/storage/browser/typed-ast) into the |
22 |
| - `dist` directory. (You will have to sign in with your Google account to |
23 |
| - access these wheels, but all Google accounts have access.) |
| 14 | +7. Download the wheels from Travis-CI and Appveyor. |
| 15 | + - Do this using `tools/download_typed_ast.py`. If you run into issues, |
| 16 | + download them manually: |
| 17 | + - Find the Appveyor build for the tag |
| 18 | + [here](https://ci.appveyor.com/project/ddfisher/typed-ast-a4xqu/history) and |
| 19 | + download the artifact produced by each job into the `dist` directory. |
| 20 | + - Download [the latest manylinux |
| 21 | + wheels](https://console.cloud.google.com/storage/browser/typed-ast) into the |
| 22 | + `dist` directory. (You will have to sign in with your Google account to |
| 23 | + access these wheels, but all Google accounts have access.) |
24 | 24 |
|
25 | 25 | 8. On a Mac with Python 3.6, 3.7, 3.8 and 3.9 installed, run
|
26 | 26 | `python3.6 setup.py bdist_wheel`, `python3.7 setup.py bdist_wheel`,
|
27 | 27 | `python3.8 setup.py bdist_wheel` and `python3.9 setup.py bdist_wheel`
|
28 | 28 | (this creates wheels in `dist`).
|
29 |
| -9. Upload the sdist and wheels to PyPI with `twine upload dist/*`. |
30 |
| -10. If possible, verify the final `typed_ast` wheels work on Windows, MacOS, |
| 29 | +9. Confirm that the wheels for MacOS target `macosx_10_9` (and not say, |
| 30 | + `macosx_10_15`). You may need `export MACOSX_DEPLOYMENT_TARGET=10.9` and |
| 31 | + possibly to recompile Python with that environment variable set. |
| 32 | +10. Compare the wheels produced to previous release of typed-ast to make sure |
| 33 | + you have the full matrix. |
| 34 | +11. If possible, verify the final `typed_ast` wheels work on Windows, MacOS, |
31 | 35 | and Linux platforms.
|
32 |
| -11. Make a commit which bumps the bugfix version and adds back the `.dev0` |
| 36 | +12. Upload the sdist and wheels to PyPI with `twine upload dist/*`. |
| 37 | +13. Make a commit which bumps the bugfix version and adds back the `.dev0` |
33 | 38 | suffix.
|
0 commit comments