mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
708de85aa5
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.
14 lines
323 B
Python
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()
|
|
|