anchor.diff:          find $out -name "*.py" | $out/bin/python -m compileall -q -f -x "lib2to3" -i -
           find $out -name "*.py" | $out/bin/python -O -m compileall -q -f -x "lib2to3" -i -
           find $out -name "*.py" | $out/bin/python -OO -m compileall -q -f -x "lib2to3" -i -
  +      '' + optionalString hostPlatform.isCygwin ''
  +        cp libpython2.7.dll.a $out/lib
         '';
   
       passthru = let
  
positive.code:     "--disable-toolbox-glue"
    ];
  
    postConfigure = if stdenv.isCygwin then ''
      sed -i Makefile -e 's,PYTHONPATH="$(srcdir),PYTHONPATH="$(abs_srcdir),'
    '' else null;
  
    buildInputs =
      optional (stdenv ? cc && stdenv.cc.libc != null) stdenv.cc.libc ++
      [ bzip2 openssl zlib ]
      ++ optionals stdenv.isCygwin [ expat libffi ]
      ++ [ db gdbm ncurses sqlite readline ]
      ++ optionals x11Support [ tcl tk xlibsWrapper libX11 ]
      ++ optionals stdenv.isDarwin [ CF configd ];
  
negative.code:     "--enable-shared"
      "--with-threads"
      "--enable-unicode=ucs4"
    ] ++ optionals hostPlatform.isCygwin [
      "--with-system-ffi"
      "--with-system-expat"
      "ac_cv_func_bind_textdomain_codeset=yes"
  