From 1b31806423c8fec4040fed6d1009db016860b763 Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Tue, 1 May 2018 20:37:51 -0400 Subject: rename inkstitch/ to lib/ You can't have a module and a package named the same thing. PyInstaller wants to import the main script as if it were a module, and this doesn't work unless there's no directory of the same name with a __init__.py in it. --- lib/stitch_plan/__init__.py | 1 + 1 file changed, 1 insertion(+) create mode 100644 lib/stitch_plan/__init__.py (limited to 'lib/stitch_plan/__init__.py') diff --git a/lib/stitch_plan/__init__.py b/lib/stitch_plan/__init__.py new file mode 100644 index 00000000..6c1f418a --- /dev/null +++ b/lib/stitch_plan/__init__.py @@ -0,0 +1 @@ +from stitch_plan import patches_to_stitch_plan, StitchPlan, ColorBlock -- cgit v1.2.3 From 05daffb7e01db55879eb24f3c00532324a5d41af Mon Sep 17 00:00:00 2001 From: Lex Neva Date: Tue, 1 May 2018 21:21:07 -0400 Subject: refactor everything out of lib/__init__.py --- lib/stitch_plan/__init__.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib/stitch_plan/__init__.py') diff --git a/lib/stitch_plan/__init__.py b/lib/stitch_plan/__init__.py index 6c1f418a..791a5f20 100644 --- a/lib/stitch_plan/__init__.py +++ b/lib/stitch_plan/__init__.py @@ -1 +1,2 @@ from stitch_plan import patches_to_stitch_plan, StitchPlan, ColorBlock +from .stitch import Stitch -- cgit v1.2.3