freeze.py 322 B

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