Skip to content

Instantly share code, notes, and snippets.

@trmwzm
Created October 3, 2019 21:40
Show Gist options
  • Save trmwzm/c78776ca77fff59dc5832f25eed2b565 to your computer and use it in GitHub Desktop.
Save trmwzm/c78776ca77fff59dc5832f25eed2b565 to your computer and use it in GitHub Desktop.
python builddeps
build deps is to download the control file for the new version from a debian package, run:
mk-build-deps newPythonControlFile,
then install the generated package with something like sudo gdebi python3.7-build-deps_1.0_amd64.deb.
Right now, it's the right-most link under "versioned links" here tracker.debian.org/pkg/python3.7 and
named control-3.7.2-1 - though you might need to gently modify it (e.g. change the gcc version).
You could do mk-build-deps python3.5 instead, but it might not get all of them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment