Skip to content

setup.py and/or project.toml missing when performing Acquire portable creation #734

@Rattkener

Description

@Rattkener

Following the deployment guide for Acquire here I have had a few issues that I was able to work around. However, when performing the final build step I am met with the following error:

`Using pip 22.3.1 from /home/user/.cache/pyoxidizer/python_distributions/python.ddf27f962f0a/python/install/lib/python3.10/site-packages/pip (python 3.10)
ERROR: Directory '/home/user/.local/lib/python3.10/site-packages/dissect/target' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
error[PYOXIDIZER_PYTHON_EXECUTABLE]: calling pip install

Caused by:
    error running pip
   --> ./pyoxidizer.bzl:241:30
    |
241 |     exe.add_python_resources(exe.pip_install(["/home/user/.local/lib/python3.10/site-packages/dissect/target", "acquire"]))
    |                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ PythonExecutable.pip_install()

error: calling pip install`

I have tried using pip install dissect -t ~/customdir/ among other options but through all the research I have done up to this point I believe there needs to be one or both of these files. Unfortunately, I am not experienced enough with Python development to say for sure. Searching for alternative guides on deploying portable acquire have not returned any useful results either at this time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions