- Added --with-brewed-openssl
- Added back again --universal
- Builds with superenv and env :std
(For Tkinter-support, needs the superenv build)
- Write a sitecustomize.py with the fixes
already applied to python 2.7:
- Support pip uninstall of scripts
- Better virtualenv compatibility
- Clean up of caveats.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
- Unset PYTHONPATH and PYTHONHOME which would lead to install distribute and
pip into the wrong python.
- For NCLT: Add to CPPFLAGS the path to zlib via -I because python's setup.py
scans only these flags.
- '-Qunused-arguments' can be added after ENV.enable_warnings to reduce
noise. The only thing which we must not add is the "-w" switch!
- For python.rb only: Pass "--no-user-cfg" to python setup.py and add --force
when installing distribute and pip to ensure overwriting with the new ones.
ClosesHomebrew/homebrew#14689.
ClosesHomebrew/homebrew#14686.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
- Since 3.2.3, the "2to3" script has a version suffix already.
- Added `--without-gcc` to ensure python uses clang.
- Avoid optimization flags that are remembers by python
(e.g. `python3.2-config --cflags`) and lead to problems
with certain C-extensions.
ClosesHomebrew/homebrew#14198.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
We only offer framework builds, so remove comments that suggest
otherwise.
Use HOMEBREW_PREFIX instead of `brew --prefix`, as that is what is
available inside of the formula, and how it is referenced elsewhere in
Homebrew.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
- Framework style build to support wxmac and other GUIs
(Note PySide (and pyqt?) seem to work even with non-framework builds).
- Fixed automatic installation of `*.app`s into `/Applications`.
- The caveats tell us now about `brew link apps`.
- Cleanup of the caveats.
- Resolve the issue of duplicate `2to3` can make the symlink phase
to break because both python and python3 provide it. (ClosesHomebrew/homebrew#12581)
- Enable warnings, because python's configure needs it. (ClosesHomebrew/homebrew#12194)
- Add suppression of recommended warnings
- Add work-a-round for python bug: http://bugs.python.org/issue11445
- Add explicit test if sqlite3 built successful.
- Removed `--universal` option, since it does no longer work on 10.8.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
* fix suggested framework symlink location
* add "python3" executable for --framework builds.
* warn if ~/.pydistutils.cfg is found
* Tk warnings not necessary for Lion.
* Caveats: Fix naming of easy_install
ClosesHomebrew/homebrew#9869.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
python3 installs would fail while linking
prefix/share/python3/easy_install to easy_install3 if the target already
existed, which caused any python3 installation after the initial to
fail. Skip linking if the symlink already exists.
This takes care of the issue described here (recognizing gdbm 1.9.x
databases): http://www.gossamer-threads.com/lists/python/bugs/942749
The patches are already in their respective upstream repositories, so
they will presumably be included in the next Python 2.7.x and 3.2.x
releases.
ClosesHomebrew/homebrew#7738.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Based off of the Python 2.6.5 formula. Minor comment tweaks along with adding
an extra performance flag that works under both gcc and LLVM.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>