Add Makefile to create .deb file

This commit is contained in:
2024-12-30 01:00:06 +01:00
parent f74898706b
commit 3f385be79e
4 changed files with 39 additions and 4 deletions

View File

@ -15,10 +15,11 @@ import urllib.parse
import gzip
VERSION: str = '0.0.1'
CNX: sqlite3.Cursor
USER_FILE: str
OPEN_API_DOC: str = '''{
"openapi": "3.1.0",
"info": {
@ -26,7 +27,7 @@ OPEN_API_DOC: str = '''{
"summary": "Elektronische Winzergenossenschaftsverwaltung (\\"Electronic Management for Vintners'/Winemakers' Cooperatives\\")",
"description": "",
"contact": {"email": "contact@necronda.net"},
"version": "0.0.1"
"version": "[VERSION]"
},
"servers": [{
"url": "https://wgm.elwig.at/elwig/api/v1",
@ -409,7 +410,7 @@ OPEN_API_DOC: str = '''{
}
}
}
'''
'''.replace('[VERSION]', VERSION)
class BadRequestError(Exception):