mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #10426 from plastikos/issue-10425
Include msgpack in thin.tgz
This commit is contained in:
commit
7cc71ff1d5
@ -10,6 +10,7 @@ import tarfile
|
|||||||
# Import third party libs
|
# Import third party libs
|
||||||
import jinja2
|
import jinja2
|
||||||
import yaml
|
import yaml
|
||||||
|
import msgpack
|
||||||
try:
|
try:
|
||||||
import markupsafe
|
import markupsafe
|
||||||
HAS_MARKUPSAFE = True
|
HAS_MARKUPSAFE = True
|
||||||
@ -60,6 +61,7 @@ def gen_thin(cachedir, extra_mods='', overwrite=False):
|
|||||||
os.path.dirname(salt.__file__),
|
os.path.dirname(salt.__file__),
|
||||||
os.path.dirname(jinja2.__file__),
|
os.path.dirname(jinja2.__file__),
|
||||||
os.path.dirname(yaml.__file__),
|
os.path.dirname(yaml.__file__),
|
||||||
|
os.path.dirname(msgpack.__file__),
|
||||||
]
|
]
|
||||||
for mod in [m for m in extra_mods.split(',') if m]:
|
for mod in [m for m in extra_mods.split(',') if m]:
|
||||||
if mod not in locals() and mod not in globals():
|
if mod not in locals() and mod not in globals():
|
||||||
|
Loading…
Reference in New Issue
Block a user