Make this project an installable Python package
This project should be an installable Python package, with versioning, so that the 'installation' on the server is an actual package installation, for which the version can be tracked, logged, and presented to the user.
This would require some or all of the following
- rename the base directory from
src
todqsegdb_server
, or similar - add an
__init__.py
module in the base of the Python package directory to make it an importable package - add
pyproject.toml
andsetup.cfg
(or similar) to provide Python package metadata for the server code - configure
setuptools-scm
(or similar) to provide automatic git-based versioning of the server code - modify the install script to run
python3 -m pip install .
(or similar) to install the server code into an environment, rather than justcp
There may be more steps, but these are the ones that are most obvious to me.