-
Danilo Ferreira de Lima authoredDanilo Ferreira de Lima authored
Update_in_DA_server.md 767 B
Building wheel
First, set the current version number in pes_to_spec/__init__.py
.
Use the following to build a wheel:
python -m build --sdist --wheel .
The generated file would be named: dist/pes_to_spec-*-py3-none-any.whl
Updating wheel in DA server
This tool is packaged and made available through the DA server. The following commands can be used to update the tool in the DA server:
# if not done before:
devpi use https://devpi.exfldadev01.desy.de/
devpi login <username>
devpi push --index euxfel/internal <my_file.whl>
Installing it from the DA server
To install this tool from the DA server, use the following index URL:
pip install --index-url "https://devpi.exfldadev01.desy.de/euxfel/internal" pes_to_spec==X.Y.Z