Skip to content

Instantly share code, notes, and snippets.

@nutjob4life
Created June 26, 2014 21:51
Show Gist options
  • Save nutjob4life/7a9211b05c6796baa201 to your computer and use it in GitHub Desktop.
Save nutjob4life/7a9211b05c6796baa201 to your computer and use it in GitHub Desktop.
My collective python "local.cfg"
# 1. /usr/bin/python2.7 bootstrap.py -c local.cfg
# 2. env MACOSX_DEPLOYMENT_TARGET=10.9 bin/buildout -c local.cfg
# 3. (Wait quite a bit of time)
#
# Then I can use the binaries in /Users/kelly/Tools/python/bin and /Users/kelly/Tools/parts/opt/bin.
[buildout]
extends =
src/base.cfg
src/readline.cfg
src/libjpeg.cfg
src/python27.cfg
src/links.cfg
src/pdbtextmate.cfg
parts =
${buildout:base-parts}
${buildout:readline-parts}
${buildout:libjpeg-parts}
${buildout:python27-parts}
${buildout:links-parts}
python-2.7-pdbtextmate
python-buildout-root = ${buildout:directory}/src
# we want our own eggs directory and nothing shared from a
# ~/.buildout/default.cfg to prevent any errors and interference
eggs-directory = eggs
[install-links]
prefix = /Users/kelly/Tools/python
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment