mirror of
https://github.com/pyMC-dev/pyMC_Repeater.git
synced 2026-07-21 09:03:23 +02:00
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:
+22
@@ -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
|
||||
Reference in New Issue
Block a user