Skip to content
This repository has been archived by the owner on May 13, 2024. It is now read-only.

HOWTO: Publishing artifacts

Edison Gustavo Muenz edited this page Mar 7, 2019 · 1 revision

This is a HOWTO on how to publish BAI artifacts for public consumption

PyPI

Followed this guide: https://medium.com/@joel.barmettler/how-to-upload-your-python-package-to-pypi-65edc5fe9c56

  • It is a "source distribution" (python only)

Steps to publish to PyPI:

$ cd client-lib
$ python setup.py sdist
$ twine upload dist/*

Testing

$ conda create -n tmp python=3.6
$ conda activate tmp
$ pip install benchmarkai-client-lib
$ python -c "import benchmarkai; benchmarkai.emit({'metric-name': 1})"
{"metric-name": 1}
Clone this wiki locally