# Package and Distribute Using Setuptools

## Build the package
cd ~/git/ray-quickstart
python -m build

## Publish to test.pypi.org
twine upload --repository testpypi dist/*

## Publish to pypi.org
twine upload dist/*

## Clean up build artifacts:
python setup.py clean


# Package and Distribute Using Hatch

## Build the package
cd ~/git/ray-quickstart
hatch build

## Publish to test.pypi.org
hatch publish -r test

## Publish to pypi.org
hatch publish


# Installation

# Install from test.pypi.org
pipenv install -i https://test.pypi.org/simple/ ray-quickstart

# Install from pypi.org
pipenv install ray-quickstart

# Install locally (no build:
pipenv install ~/git/ray-quickstart

