summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid McMackins II <contact@mcmackins.org>2015-07-28 19:10:52 -0500
committerDavid McMackins II <contact@mcmackins.org>2015-07-28 19:10:52 -0500
commite4fc436bc0da448ea51fc5766069a41fd075b948 (patch)
tree8e451a0639018c52fbf5c8b130f664b5773d5956
parent5e4cbe92c62fd8459169eb85d771743318bb693e (diff)
parent37693fca31b9e5af6168bc2ee5003a0216e678f8 (diff)
Included 1.0.5 fixes
-rw-r--r--jarsnap.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/jarsnap.py b/jarsnap.py
index 7f8b6ea..d5fca13 100644
--- a/jarsnap.py
+++ b/jarsnap.py
@@ -44,6 +44,10 @@ def make_fat_jar(jars, main_class, output_path='fat.jar', data=[]):
for datum in data:
copy(datum, workdir)
+ for f in listdir(meta_inf):
+ if f.endswith('.SF') or f.endswith('.DSA') or f.endswith('.RSA'):
+ remove(join(meta_inf, f))
+
with open(join(meta_inf, 'MANIFEST.MF'), 'w') as mf:
mf.write('Manifest-Version: 1.0\r\n'
+ 'Created-By: {} {}, {}\r\n'.format(__title__,