Add build scripts and setup for pyMC_Repeater

- Implemented build-dev.sh for creating development .deb packages from untagged commits.
- Implemented build-prod.sh for creating production .deb packages from tagged commits, including checks for a clean git state.
- Added setup-build-env.sh to automate the installation of required build dependencies for Debian/Ubuntu.
- Created setup.py to manage package setup using setuptools with versioning from git tags.
This commit is contained in:
Lloyd
2025-12-30 15:17:48 +00:00
parent 7112da98c2
commit 59a151f382
24 changed files with 1057 additions and 413 deletions
Vendored Executable
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/make -f
# -*- makefile -*-
export PYBUILD_NAME=pymc-repeater
export DH_VERBOSE=1
%:
dh $@ --with python3 --buildsystem=pybuild
override_dh_auto_test:
# Skip tests - cherrypy-cors not available in Debian repos
# Tests pass in development with: pip install cherrypy-cors
override_dh_auto_clean:
dh_auto_clean
rm -rf build/
rm -rf *.egg-info/
rm -rf .pybuild/
rm -f repeater/_version.py
override_dh_installsystemd:
dh_installsystemd --name=pymc-repeater