salt/pkg/freeze/freeze.py
Thomas S Hatch 708de85aa5 Add freeze.py for bbfreeze packaging
This simple script allows a user to make a binary distributable salt
system. Execute it in a system with salt already installed and a
platform specific group of all of the deps needed by Salt is created.
2012-04-09 13:31:51 -06:00

14 lines
323 B
Python

#!/usr/bin/env python
from bbfreeze import Freezer
includes = ['zmq', 'zmq.utils.strtypes', 'zmq.utils.jsonapi']
excludes = ['Tkinter', 'tcl', 'Tkconstants']
fre = Freezer(distdir="bb_salt", includes=includes, excludes=excludes)
fre.addScript('/usr/bin/salt-minion')
fre.use_compression = 0
fre.include_py = True
fre()