Skip to content

Issues generating Pyarmor universal2 build #1939

Answered by jondy
Warfront1 asked this question in Q&A
Discussion options

You must be logged in to vote

Try to apply this patch

diff --git a/pyarmor/cli/__main__.py b/pyarmor/cli/__main__.py
index 103f86f3..e282432d 100644
--- a/pyarmor/cli/__main__.py
+++ b/pyarmor/cli/__main__.py
@@ -238,8 +238,8 @@ def cmd_gen(ctx, args):
         packer = Repacker(ctx, args.pack, options['inputs'], args.output)
         packer.check()
         builder.process(options, packer=packer)
-        packer.build()
         Plugin.post_build(ctx, pack=args.pack)
+        packer.build()
     else:
         builder.process(options)
         Plugin.post_build(ctx)

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@Warfront1
Comment options

Comment options

You must be logged in to vote
1 reply
@Warfront1
Comment options

Answer selected by Warfront1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants