indygreg / PyOxidizer

A modern Python application packaging and distribution tool
Mozilla Public License 2.0
5.49k stars 239 forks source link

Error during "Getting Started" #286

Open MatBailie opened 4 years ago

MatBailie commented 4 years ago

MacOS - Catalina 10.15.6

https://pyoxidizer.readthedocs.io/en/latest/getting_started.html

First I installed as follows, it installed 0.7.0 but apparently doesn't know that itself...

% brew install rust
% brew install rustup
% cargo install pyoxidizer
% pyoxidizer

PyOxidizer UNKNOWN
Gregory Szorc <gregory.szorc@gmail.com>
Build and distribute Python applications

USAGE:
    pyoxidizer [FLAGS] [SUBCOMMAND]

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information
        --verbose    Enable verbose output

SUBCOMMANDS:
    add                             Add PyOxidizer to an existing Rust project. (EXPERIMENTAL)
    analyze                         Analyze a built binary
    build                           Build a PyOxidizer enabled project
    help                            Prints this message or the help of the given subcommand(s)
    init-config-file                Create a new PyOxidizer configuration file.
    init-rust-project               Create a new Rust project embedding a Python interpreter
    list-targets                    List targets available to resolve in a configuration file
    python-distribution-extract     Extract a Python distribution archive to a directory
    python-distribution-info        Show information about a Python distribution archive
    python-distribution-licenses    Show licenses for a given Python distribution
    run                             Run a target in a PyOxidizer configuration file
    run-build-script                Run functionality that a build script would perform

Then I tried the interactive prompt, which worked...

pyoxidizer init-config-file pyapp
cd pyapp
pyoxidizer run

Then I tried adding run_eval="import uuid; print(uuid.uuid4())", which also worked.

At the next step I got the error... Change the line above to run_eval="from pyflakes.api import main; main()", and then add the line exe.add_in_memory_python_resources(exe.pip_install(["pyflakes==2.1.1"]))

When run, I get the following message...

resolving 1 targets
resolving target exe
resolving target dist
resolving Python distribution Url { url: "https://github.com/indygreg/python-build-standalone/releases/download/20200408/cpython-3.7.7-macos-20200409T0412.tar.zst", sha256: "f312bea46a7d8efecd4df6b22c03f83016775e6bb5944a5701d697e0a52c63b2" }
Python distribution available at /Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/cpython-3.7.7-macos-20200409T0412.tar.zst
reading data from Python distribution...
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
error[CV00]: Cannot .pip_install on type PythonExecutable
   --> ./pyoxidizer.bzl:116:40
    |
116 |     exe.add_in_memory_python_resources(exe.pip_install(["pyflakes==2.1.1"]))
    |                                        ^^^^^^^^^^^^^^^ .pip_install not supported for type PythonExecutable

error: Cannot .pip_install on type PythonExecutable
indygreg commented 4 years ago

The API for calling pip_install() changed between the 0.7 release and the upcoming 0.8 release. You appear to be using the not-yet-released version. If using 0.7, be sure you are using https://pyoxidizer.readthedocs.io/en/stable/ or https://pyoxidizer.readthedocs.io/en/v0.7.0/ instead of https://pyoxidizer.readthedocs.io/en/latest/.

If you want, you can also install the latest version of PyOxidizer from source code using the instructions at https://pyoxidizer.readthedocs.io/en/latest/getting_started.html#installing-pyoxidizer. I develop PyOxidizer so the main branch should be stable and usable at all times. Please note that I'm still not done making backwards incompatible changes for the 0.8 release.

MatBailie commented 4 years ago

Wow, very quick rely, thank you. Sorry for the mistake in mixing latest and 0.7.0; I've now re-installed 0.7.0 and tried following the "Getting Started" page...

% cargo uninstall pyoxidizer
    Removing /Users/mathew.bailie/.cargo/bin/pyoxidizer

% cargo install pyoxidizer --version '<=0.7'
    Updating crates.io index
  Installing pyoxidizer v0.7.0
  Downloaded either v1.6.1
  Downloaded 1 crate (13.6 KB) in 6.78s
   Compiling ...
    Finished release [optimized] target(s) in 6m 49s
  Installing /Users/mathew.bailie/.cargo/bin/pyoxidizer
   Installed package `pyoxidizer v0.7.0` (executable `pyoxidizer`)

% pyoxidizer -V
PyOxidizer UNKNOWN

(Certainly installed 0.7.0, still showing as UNKNOWN in version.)

Reading the stable "Getting Started" it says:

Find the embedded = dist.to_embedded_resources( line in the pyoxidizer.bzl file. Let’s add a new line to make_exe() just below where embedded is assigned:

embedded.add_in_memory_python_resources(dist.pip_install(["pyflakes==2.1.1"]))

However, the .bzl file created by pyoxidizer has exe = dist.to_python_executable(, even though I watched it install v0.7.0...

(I think it's this dis-connect that eventually led me to the mistake of reading the latest docs.)

Unsurprisingly, that doesn't run...

error[CM01]: Variable 'embedded' not found
  --> ./pyoxidizer.bzl:95:5
   |
95 |     embedded.add_in_memory_python_resources(dist.pip_install(["pyflakes==2.1.1"]))
   |     ^^^^^^^^ Variable was not found

error: Variable 'embedded' not found

When I change it to exe. instead of embedded., it progresses much better, but then "freezes"...

% pyoxidizer run -- --help
resolving 1 targets
resolving target exe
resolving target dist
resolving Python distribution Url { url: "https://github.com/indygreg/python-build-standalone/releases/download/20200408/cpython-3.7.7-macos-20200409T0412.tar.zst", sha256: "f312bea46a7d8efecd4df6b22c03f83016775e6bb5944a5701d697e0a52c63b2" }
Python distribution available at /Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/cpython-3.7.7-macos-20200409T0412.tar.zst
reading data from Python distribution...
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
installing modified distutils to /var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/pyoxidizer-pip-install.gH5mjeID1hLV/packages
modifying distutils/_msvccompiler.py for oxidation
modifying distutils/command/build_ext.py for oxidation
modifying distutils/unixccompiler.py for oxidation
pip installing to /var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/pyoxidizer-pip-install.gH5mjeID1hLV/install
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
Collecting pyflakes==2.1.1
  Using cached pyflakes-2.1.1-py2.py3-none-any.whl (59 kB)
Installing collected packages: pyflakes
Successfully installed pyflakes-2.1.1
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
     Created binary (application) package
writing /var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/pyoxidizer.LbZkphORvS8L/pyapp/.cargo/config
writing /var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/pyoxidizer.LbZkphORvS8L/pyapp/build.rs
writing /var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/pyoxidizer.LbZkphORvS8L/pyapp/src/main.rs
writing /var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/pyoxidizer.LbZkphORvS8L/pyapp/pyoxidizer.bzl
warning: cProfile contains __file__
warning: distutils.command.bdist_wininst contains __file__
warning: distutils.command.sdist contains __file__
warning: distutils.core contains __file__
warning: distutils.dist contains __file__
warning: doctest contains __file__
warning: encodings contains __file__
warning: idlelib.browser contains __file__
warning: idlelib.config contains __file__
warning: idlelib.help contains __file__
warning: idlelib.help_about contains __file__
warning: idlelib.idle contains __file__
warning: idlelib.pyshell contains __file__
warning: idlelib.runscript contains __file__
warning: idlelib.tree contains __file__
warning: importlib contains __file__
warning: importlib._bootstrap contains __file__
warning: importlib._bootstrap_external contains __file__
warning: importlib.abc contains __file__
warning: inspect contains __file__
warning: lib2to3.pygram contains __file__
warning: logging contains __file__
warning: logging.handlers contains __file__
warning: modulefinder contains __file__
warning: multiprocessing.spawn contains __file__
warning: pdb contains __file__
warning: pip.__main__ contains __file__
warning: pip._internal.build_env contains __file__
warning: pip._internal.pyproject contains __file__
warning: pip._internal.req.req_install contains __file__
warning: pip._internal.utils.misc contains __file__
warning: pip._internal.utils.setuptools_build contains __file__
warning: pip._internal.utils.virtualenv contains __file__
warning: pip._vendor contains __file__
warning: pip._vendor.certifi.core contains __file__
warning: pip._vendor.distlib.resources contains __file__
warning: pip._vendor.pep517._in_process contains __file__
warning: pip._vendor.pep517.wrappers contains __file__
warning: pip._vendor.pkg_resources contains __file__
warning: pkgutil contains __file__
warning: profile contains __file__
warning: pyclbr contains __file__
warning: pydoc contains __file__
warning: pydoc_data.topics contains __file__
warning: pyflakes.checker contains __file__
warning: pyflakes.test.test_api contains __file__
warning: pyflakes.test.test_undefined_names contains __file__
warning: runpy contains __file__
warning: site contains __file__
warning: trace contains __file__
warning: turtle contains __file__
warning: turtledemo.__main__ contains __file__
warning: unittest contains __file__
warning: unittest.loader contains __file__
warning: venv contains __file__
warning: warnings contains __file__
__file__ was encountered in some embedded modules
PyOxidizer does not set __file__ and this may create problems at run-time
See https://github.com/indygreg/PyOxidizer/issues/69 for more
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
generating custom link library containing Python...
deriving custom config.c from 96 extension modules
compiling custom config.c to object file
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-arch" "x86_64" "-I" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2" "-Wall" "-Wextra" "-std=c99" "-DNDEBUG" "-DPy_BUILD_CORE" "-o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/pyoxidizer-build-exe.JKn96I0XJytl/config.o" "-c" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/config.c"
exit code: 0
running: "ar" "crs" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/pyoxidizer-build-exe.JKn96I0XJytl/libpyembeddedconfig.a" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/pyoxidizer-build-exe.JKn96I0XJytl/config.o"
exit code: 0
resolving inputs for custom Python library...
ignoring config.o since it may conflict with our version
resolving libraries required by core distribution...
resolving inputs for 96 extension modules...
static library bz2 required by _bz2
system library dl required by _ctypes
static library ffi required by _ctypes
system library m required by _ctypes_test
system library ncurses required by _curses
static library db required by _dbm
static library crypto required by _hashlib
static library ssl required by _hashlib
static library lzma required by _lzma
framework CoreFoundation required by _scproxy
framework SystemConfiguration required by _scproxy
static library sqlite3 required by _sqlite3
static library crypto required by _ssl
static library ssl required by _ssl
framework AppKit required by _tkinter
framework ApplicationServices required by _tkinter
framework Carbon required by _tkinter
framework CoreGraphics required by _tkinter
framework CoreServices required by _tkinter
framework IOKit required by _tkinter
framework Tcl required by _tkinter
framework Tk required by _tkinter
static library uuid required by _uuid
static library z required by zlib
compiling libpythonXY...
running: "ar" "crs" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/pyoxidizer-build-exe.JKn96I0XJytl/libpythonXY.a" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Modules/gcmodule.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Modules/getbuildinfo.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Modules/getpath.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Modules/main.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/abstract.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/accu.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/boolobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/bytearrayobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/bytes_methods.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/bytesobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/call.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/capsule.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/cellobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/classobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/codeobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/complexobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/descrobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/dictobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/enumobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/exceptions.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/fileobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/floatobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/frameobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/funcobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/genobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/iterobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/listobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/longobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/memoryobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/methodobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/moduleobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/namespaceobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/object.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/obmalloc.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/odictobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/rangeobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/setobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/sliceobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/structseq.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/tupleobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/typeobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/unicodectype.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/unicodeobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Objects/weakrefobject.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Parser/acceler.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Parser/bitset.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Parser/firstsets.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Parser/grammar.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Parser/grammar1.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Parser/listnode.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Parser/metagrammar.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Parser/myreadline.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Parser/node.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Parser/parser.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Parser/parsetok.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Parser/pgen.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Parser/tokenizer.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/Python-ast.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/_warnings.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/asdl.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/ast.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/ast_opt.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/ast_unparse.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/bltinmodule.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/bootstrap_hash.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/ceval.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/codecs.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/compile.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/context.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/dtoa.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/dynamic_annotations.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/dynload_shlib.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/errors.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/fileutils.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/formatter_unicode.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/frozen.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/frozenmain.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/future.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/getargs.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/getcompiler.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/getcopyright.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/getopt.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/getplatform.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/getversion.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/graminit.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/hamt.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/import.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/importdl.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/marshal.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/modsupport.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/mysnprintf.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/mystrtoul.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/pathconfig.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/peephole.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/pyarena.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/pyctype.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/pyfpe.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/pyhash.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/pylifecycle.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/pymath.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/pystate.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/pystrcmp.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/pystrhex.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/pystrtod.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/pythonrun.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/pytime.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/structmember.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/symtable.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/sysmodule.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/thread.o" "/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/libpython.8oAH3D7KVjT2/build/Python/traceback.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_abc.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_asynciomodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_bisectmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/blake2b_impl.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/blake2module.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/blake2s_impl.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_bz2module.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_codecsmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_codecs_cn.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_codecs_hk.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_codecs_iso2022.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_codecs_jp.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_codecs_kr.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_codecs_tw.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_collectionsmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_contextvarsmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_cryptmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_csv.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_ctypes.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/callbacks.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/callproc.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/cfield.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/dlfcn_simple.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/malloc_closure.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/stgdict.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_ctypes_test.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_cursesmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_datetimemodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_dbmmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_decimal.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/basearith.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/constants.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/context.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/convolute.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/crt.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/difradix2.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/fnt.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/fourstep.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/io.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/memory.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/mpdecimal.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/numbertheory.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/sixstep.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/transpose.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_elementtree.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_functoolsmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_hashopenssl.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_heapqmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_iomodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/bufferedio.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/bytesio.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/fileio.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/iobase.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/stringio.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/textio.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_json.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_localemodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_lsprof.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/rotatingtree.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_lzmamodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/md5module.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/multibytecodec.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/multiprocessing.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/semaphore.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_opcode.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_operator.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_pickle.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_posixsubprocess.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_queuemodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_randommodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_scproxy.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/sha1module.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/sha256module.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/sha3module.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/sha512module.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/signalmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/socketmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/cache.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/connection.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/cursor.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/microprotocols.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/module.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/prepare_protocol.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/row.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/statement.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/util.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_sre.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_ssl.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_stat.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_struct.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/symtablemodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_testbuffer.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_testimportmultiple.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_testmultiphase.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_threadmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_tkinter.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/tkappinit.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_tracemalloc.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/hashtable.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_uuidmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_weakref.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_xxtestfuzz.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/fuzzer.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/arraymodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/atexitmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/audioop.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/binascii.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_math.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/cmathmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/errnomodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/faulthandler.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/fcntlmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/grpmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/itertoolsmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/_math.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/mathmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/mmapmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/parsermodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/posixmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/pwdmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/pyexpat.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/xmlparse.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/xmlrole.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/xmltok.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/resource.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/selectmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/syslogmodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/termios.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/timemodule.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/unicodedata.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/xxlimited.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/xxsubtype.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/zipimport.o" "/Users/mathew.bailie/Documents/repo/pyapp/./build/python_distributions/python.f312bea46a7d/python/build/Modules/zlibmodule.o"
cargo:warning=/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/pyoxidizer-build-exe.JKn96I0XJytl/libpythonXY.a(dynamic_annotations.o) has no symbols
cargo:warning=/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/pyoxidizer-build-exe.JKn96I0XJytl/libpythonXY.a(pymath.o) has no symbols
cargo:warning=/Library/Developer/CommandLineTools/usr/bin/ranlib: file: /var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/pyoxidizer-build-exe.JKn96I0XJytl/libpythonXY.a(dlfcn_simple.o) has no symbols
exit code: 0
libpythonXY created
deriving custom importlib modules to support in-memory importing
building with Rust 1.46.0
    Updating crates.io index
   Compiling libc v0.2.77
   Compiling memchr v2.3.3
   Compiling lazy_static v1.4.0
   Compiling regex-syntax v0.6.18
   Compiling fs_extra v1.2.0
   Compiling cc v1.0.60
   Compiling cfg-if v0.1.10
   Compiling getrandom v0.1.15
   Compiling autocfg v1.0.1
   Compiling proc-macro-hack v0.5.18
   Compiling byteorder v1.3.4
   Compiling ppv-lite86 v0.2.9
   Compiling anyhow v1.0.32
   Compiling pyembed v0.7.0
   Compiling cpython v0.5.1
   Compiling pyapp v0.1.0 (/private/var/folders/yb/lfqmh64d7_s2b39p8l9kmtsm0000gq/T/pyoxidizer.LbZkphORvS8L/pyapp)
   Compiling thread_local v1.0.1
   Compiling num-traits v0.2.12
   Compiling aho-corasick v0.7.13
   Compiling paste-impl v0.1.18
   Compiling python-packed-resources v0.1.0
   Compiling rand_core v0.5.1
   Compiling jemalloc-sys v0.3.2
   Compiling rand_chacha v0.2.2
   Compiling paste v0.1.18
   Compiling rand v0.7.3
   Compiling regex v1.3.9
   Compiling uuid v0.8.1
   Compiling python3-sys v0.5.1
   Compiling jemallocator v0.3.2
   Compiling jemallocator-global v0.3.2
    Finished dev [unoptimized + debuginfo] target(s) in 33.57s
writing executable to /Users/mathew.bailie/Documents/repo/pyapp/./build/x86_64-apple-darwin/debug/exe/pyapp

I opened another terminal and the file is 46060324 bytes long, and not growing.

When I run that file directly, it also just "freezes".

So, I made the following change:

          run_eval="from pyflakes.api import main; import sys; print('Number of arguments: {}'.format(len(sys.argv))); print('Argument(s) passed: {}'.format(str(sys.argv))); main()",

Then, again ran it:

% pyoxidizer run -- --help
resolving 1 targets
resolving target exe
resolving target dist
...
    Finished dev [unoptimized + debuginfo] target(s) in 34.38s
writing executable to /Users/mathew.bailie/Documents/repo/pyapp/./build/x86_64-apple-darwin/debug/exe/pyapp
Number of arguments: 1
Argument(s) passed: ['/Users/mathew.bailie/Documents/repo/pyapp/./build/x86_64-apple-darwin/debug/exe/pyapp']
^C... stopped

I could see the arguments are not being passed through. So, I run the executable with arguments...

(base) mathew.bailie@M-114 exe % ./pyapp --help
Number of arguments: 2
Argument(s) passed: ['./pyapp', '--help']
Usage: pyapp [options]

Options:
  --version   show program's version number and exit
  -h, --help  show this help message and exit
(base) mathew.bailie@M-114 exe % 

So, the executable appears to be working, but something appears to be wrong with pyoxidizer run -- --help?

(Due to the slow process of installing and running, I haven't tried 0.8 today. I did try it without success yesterday, but without repeating the exercise I can't rigorously show my steps or isolate the actual point of failure. I'll try in the near future and update with another reply on this ticket.)

indygreg commented 4 years ago

I recommend installing the latest version from the main branch via cargo install --git https://github.com/indygreg/PyOxidizer.git --branch main pyoxidizer. There are tons of unreleased bug fixes and new features. Including a fix for the UNKNOWN version being printed.

As for the pyflakes example freezing, that might be due to pyflakes wanting Python source code on stdin or a filename as an argument? Perhaps pyflakes isn't a good example application to include in the docs...

paxcodes commented 3 years ago

I recommend installing the latest version from the main branch via cargo install --git https://github.com/indygreg/PyOxidizer.git --branch main pyoxidizer.

I have done that but still getting stuck with installing the "pyflakes executable"

 Compiling jemallocator v0.3.2
   Compiling uuid v0.8.1
   Compiling jemallocator-global v0.3.2
    Finished dev [unoptimized + debuginfo] target(s) in 1m 40s
installing files to /some/proj/./build/x86_64-apple-darwin/debug/install

Like @MatBailie, running the executable itself is fine:

someuser@iMac [14:11:45] [~/proj/build/x86_64-apple-darwin/debug/install]
-> % ./my-app --help
usage: my-app [-h] [-V] [path [path ...]]

Check Python source files for errors

positional arguments:
  path           Path(s) of Python file(s) to check. STDIN if not given.

optional arguments:
  -h, --help     show this help message and exit

Version Info

My OS: Mac OS Mojave 10.14.6

-> % pyoxidizer
PyOxidizer 0.11.0-pre-b08e1150581041bae7df09bad622a3c181097671