bbfreeze creates standalone executables from Python scripts. It's similar
in purpose to the well known py2exe for Windows, py2app for OS X, PyInstaller
and cx_Freeze (in fact ancient versions were based on cx_Freeze.
And it uses the modulegraph package, which is also used by py2app).
It has the following features:
- ZIP/Egg file import tracking
- Binary dependency tracking (e.g. shared libraries)
- Multiple script freezing support
- Python interpreter included (named 'py')
- Automatic pathname rewriting (pathnames in tracebacks are relative)
- New distutils command: bdist_bbfreeze
WWW: https://pypi.org/project/bbfreeze/
===> The following configuration options are available for py27-bbfreeze-1.1.3_1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
Switch all pypi.python.org WWWs to a new PyPi home pypi.org where
they now redirect to anyway. All new urls checked to return 200,
I've fixed a couple of them in the process.
Approved by: portmgr blanket, mat
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
(Only the first 15 lines of the commit message are shown above )
Flush a short queue of minor non-functional changes sitting it my tree:
- Escape literal dot properly in sed(1) code (for REINPLACE_CMD)
- Spell "C-string" correctly in COMMENT and add a missing newline
- Use NULL for pointer in C code (original snippet was for C++ and Bjarne
prefers to avoid macros, per his C++ Style and Technique FAQ)
Add two new ports: bbfreeze and bbfreeze-loader (helper script).
bbfreeze creates standalone executables from Python scripts. It's similar
in purpose to the well known py2exe for Windows, py2app for OS X, PyInstaller
and cx_Freeze (in fact ancient versions were based on cx_Freeze.
And it uses the modulegraph package, which is also used by py2app).
It has the following features:
- ZIP/Egg file import tracking
- Binary dependency tracking (e.g. shared libraries)
- Multiple script freezing support
- Python interpreter included (named 'py')
- Automatic pathname rewriting (pathnames in tracebacks are relative)
- New distutils command: bdist_bbfreeze
WWW: https://pypi.python.org/pypi/bbfreeze/