You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
most of PR review comments addressed -- few more to tackle tmrw. haven't changed import paths yet b/c still working out of my dir -- will do that as a last step.
pkg generates and compiles (C)Python language bindings fora Go package, including subdirectories, and generates python module packaging suitable for distribution. if setup.py file does not yet existin the target directory, then it along with other default packaging files are created, using arguments. Typically you create initial default versions of these files and then edit them, and after that, only regenerate the go binding files.
74
+
pkg generates and compiles (C)Python language bindings fora Go package, including subdirectories, and generates python module packaging suitable for distribution. if setup.py file does not yet existin the target directory, then it is created along with other default packaging files, using arguments. Typically you create initial default versions of these files and then edit them, and after that, only regenerate the Go binding files.
exe generates and compiles (C)Python language bindings fora Go package, including subdirectories, and generates a standalone python executable and associated module packaging suitable for distribution. if setup.py file does not yet existin the target directory, then it along with other default packaging files are created, using arguments. Typically you create initial default versions of these files and then edit them, and after that, only regenerate the go binding files.
98
+
exe generates and compiles (C)Python language bindings fora Go package, including subdirectories, and generates a standalone python executable and associated module packaging suitable for distribution. if setup.py file does not yet existin the target directory, then it along with other default packaging files are created, using arguments. Typically you create initial default versions of these files and then edit them, and after that, only regenerate the Go binding files.
99
99
100
100
The primary need for an exe instead of a pkg dynamic library is when the main thread must be used for something other than running the python interpreter, such as for a GUI library where the main thread must be used for running the GUI event loop (e.g., GoGi).
101
101
@@ -108,7 +108,7 @@ Options:
108
108
-desc="": short description of project (long comes from README.md)
109
109
-email="gopy@example.com": author email
110
110
-exclude="": comma-separated list of package names to exclude
111
-
-main="": code string to run in the gomain() functionin the cgo library -- defaults to GoPyMainRun() but typically should be overriden
111
+
-main="": code string to run in the Gomain() functionin the cgo library -- defaults to GoPyMainRun() but typically should be overriden
112
112
-name="": name of output package (otherwise name of first package is used)
113
113
-output="": output directory for root of package
114
114
-symbols=true: include symbols in output
@@ -127,7 +127,7 @@ ex:
127
127
$ gopy gen github.com/go-python/gopy/_examples/hi
128
128
129
129
Options:
130
-
-main="": code string to run in the gomain() functionin the cgo library
130
+
-main="": code string to run in the Gomain() functionin the cgo library
131
131
-name="": name of output package (otherwise name of first package is used)
0 commit comments