PyPi link: https://pypi.org/project/tiivad/
- Use Python 3.10
- Install requirements from requirements.txt
# All tests
python -m pytest
# For one file
python -m pytest test/test_file.py
- Remove the old versions from
dist
folder. - Change the version in
tiivad/version.py
and run:
python setup.py sdist
python -m twine upload dist/*
user: __token__
pwd: <token>
https://pypi.org/project/tiivad/
# File to change in: tsl-tiivad/docker/tiivad-base
RUN pip3 install --no-cache-dir tiivad==0.0.30[requirements.txt](..%2F..%2FDesktop%2FEerik%2Ftsl-tiivad%2Frequirements.txt)
cd ..
cd docker
docker build --progress plain --no-cache -f tiivad-base -t tiivadbase1 .
docker build --progress plain --no-cache -f dockerfile-evaluate -t evaluate1 .
docker images
docker run -it --name evaluator evaluate1 /bin/bash
./evaluate.sh
docker logs evaluator