* Renamed `compute` to `engine`
* Ensure all modules have an __all__ definition
* Update api constants to use Python3 Enums
* Improve error handling in examples
* Fix api.get_user to match new endpoint signature
* Add state filter param to list_databases
* Fix config example in README.md
!/bin/bash
1. Run all examples
2. Update verison number in railib/__init__.py
3. Tag the repo with the version number:
$ git tag <version>
$ git push origin --tags
4. Run ./release-build, make sure no issues
5. Run this script
6. Verify that the expected version appears on https://pypi.org
In order to upload to PyPI you will need to login to https://pypi.org,
using credentials that IT can provide, and create an API Token in the
rai-sdk project. Then you need to create a $HOME/.pypirc file that looks
like the following:
~~~
[distutils]
index-servers =
pypi
[pypi]
username = __token__
password = <API Token>
[rai-sdk]
username = __token__
password = <API Token>
~~~
The upload script will error on the .egg file, you you can ignore, the error
is benign.
Note, the script requires twine: `pip install twine`
set -ex
./release-build
./release-upload