# ---------------------------------
# For updating the PyPi package
# ---------------------------------
# Upgrade versions:
python3 -m pip install --upgrade build
python3 -m pip install --upgrade twine

# Build the package version:
python3 -m build

# --- 1st upload to the test PyPi:
python3 -m twine upload --repository testpypi dist/* 

# Install from the test PyPi:
python3 -m pip install --index-url https://test.pypi.org/simple/ --no-deps mat-data


# --- 2nd upload to the PyPi:
python3 -m twine upload dist/* 

python3 -m pip install mat-data

# ---------------------------------
# For making the docs
# ---------------------------------
python3 -m pip install -U sphinx

cd docs
sphinx-quickstart

make html
