python builds
Go to file
2019-05-31 09:07:08 -07:00
scripts multi version support 2019-05-31 09:07:08 -07:00
src multi version support 2019-05-31 09:07:08 -07:00
.dockerignore multi version support 2019-05-31 09:07:08 -07:00
.gitignore multi version support 2019-05-31 09:07:08 -07:00
build.sh multi version support 2019-05-31 09:07:08 -07:00
Dockerfile abandon submodule technique 2019-05-31 07:43:42 -07:00
README.md abandon submodule technique 2019-05-31 07:43:42 -07:00

Deb builder for extpython

Build process:

  • ./build.sh to kick off the process, runs a docker image - docker run -it --rm -v $PWD:/src ubuntu:bionic bash
    • ./build-inner.sh called in the container, prepares the environment
    • ./build-inner.sh switches to an underpriv'd user and calls...
      • ./build-deb.sh - does the actual build

TODO:

  • parameterize the build:
    • vars.sh needs to pass PYTHON_RELEASE down into the makefile
    • debian metadata files need to obey this too:
      • changelog: package name and version
      • control: package name
      • Makefile: a component of the --prefix path

TODO later:

  • upload resulting deb to artifact
  • support other than Bionic
  • separate process into creating the builder image & building the deb itself
  • parameter for pre-loaded pip modules