Files
synology-api-python/scripts/publish.sh
Quentin POLLET a4edbd3348 Release 1.0.0
2020-10-21 13:40:23 +02:00

20 lines
507 B
Bash
Executable File

# Publish the library
# https://pypi.org/project/python-synology
# Publish documentation here: https://packaging.python.org/tutorials/packaging-projects/
./scripts/common.sh
./scripts/clean.sh
# Install/update dependencies
python3 -m pip install --user --upgrade setuptools wheel
python3 -m pip install --user --upgrade twine
# Build
python3 setup.py sdist bdist_wheel
# Push to PyPi
python3 -m twine upload dist/*
# python3 -m twine upload --repository testpypi dist/*
# Enter credentials manually :P