forked from Pyroevil/Blender-Molecular-Script
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
40563fc
commit d79e000
Showing
3 changed files
with
31 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
from molecular import bl_info | ||
from zipfile import ZipFile, ZIP_DEFLATED | ||
from os import path, walk | ||
|
||
|
||
with ZipFile('molecular_{}_win'.format(('.'.join(map(str, bl_info['version'])))) + '.zip', 'w') as z: | ||
for root, _, files in walk('molecular'): | ||
for file in files: | ||
if not file.endswith('.py') and not file.endswith('.pyd'): | ||
continue | ||
z.write(path.join(root, file), compress_type=ZIP_DEFLATED) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters