Skip to content
Snippets Groups Projects
Verified Commit cc9a3138 authored by Martin Weise's avatar Martin Weise
Browse files

Python library versioning fix

parent 99e2c83a
No related branches found
No related tags found
No related merge requests found
......@@ -577,7 +577,7 @@ release-libs:
- pip install pipenv
- pipenv install gunicorn && pipenv install --dev --system --deploy
- pip install twine build
- 'sed -i -e "s/__APPVERSION__/${APP_VERSION}rc18/g" ./lib/python/pyproject.toml ./lib/python/setup.py ./lib/python/README.md'
- 'sed -i -e "s/__APPVERSION__/${APP_VERSION}/g" ./lib/python/pyproject.toml ./lib/python/setup.py ./lib/python/README.md'
- python -m build --sdist ./lib/python
- python -m build --wheel ./lib/python
- printf "[diskutils]\nindex-servers =\n pypi\n\n[pypi]\nusername = __token__\npassword = ${CI_PIPY_TOKEN}\nrepository = https://upload.pypi.org/legacy/" > .pypirc
......
......@@ -33,7 +33,8 @@ print(f"Analysis result: {analysis}")
# create table
table = client.create_table(database_id=1,
name="Sensor Data",
constraints=CreateTableConstraints(checks=['precipitation >= 0'],
constraints=CreateTableConstraints(
checks=['precipitation >= 0'],
uniques=[['precipitation']]),
columns=[CreateTableColumn(name="date",
type=ColumnType.DATE,
......
[project]
name = "dbrepo"
version = "1.4.2rc5"
version = "__APPVERSION__"
description = "DBRepo Python Library"
keywords = [
"DBRepo",
......
......@@ -2,7 +2,7 @@
from distutils.core import setup
setup(name="dbrepo",
version="1.4.2rc5",
version="__APPVERSION__",
description="A library for communicating with DBRepo",
url="https://www.ifs.tuwien.ac.at/infrastructures/dbrepo//",
author="Martin Weise",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment