mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
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.
This commit is contained in:
parent
827f070c4e
commit
708de85aa5
1 changed files with 13 additions and 0 deletions
13
pkg/freeze/freeze.py
Normal file
13
pkg/freeze/freeze.py
Normal file
|
@ -0,0 +1,13 @@
|
|||
#!/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()
|
||||
|
Loading…
Add table
Reference in a new issue