Skip to content

Commit

Permalink
Add dev directory
Browse files Browse the repository at this point in the history
  • Loading branch information
emanuelegissi committed Nov 11, 2020
1 parent ff19f42 commit 55fb311
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 0 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
29 changes: 29 additions & 0 deletions dev/make_release.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!python3

import shutil, tempfile

# Config
ignore_patterns = (
"__pycache__",
"*.pyc",
"dev",
"docs",
"*.blend1",
".git*",
".vscode",
"verification",
)
output_filename = "/home/egissi/blenderfds"

# Make
with tempfile.TemporaryDirectory() as tmpdirname:
blenderfds_dir = tmpdirname + "/blenderfds"
shutil.copytree(
"..",
blenderfds_dir,
symlinks=False,
ignore=shutil.ignore_patterns(*ignore_patterns),
)
shutil.make_archive(output_filename, "zip", blenderfds_dir)

print(f"Done: {output_filename}.zip")

0 comments on commit 55fb311

Please sign in to comment.