File: publish.sh

package info (click to toggle)
python-synologydsm-api 2.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,364 kB
  • sloc: python: 27,201; sh: 25; makefile: 2
file content (19 lines) | stat: -rwxr-xr-x 507 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Publish the library
# https://pypi.org/project/synologydsm-api
# 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