Skip to content

[proposed feature-request] Lacking psutil recipe #2707

Closed as not planned
Closed as not planned

Description

@yves-surrel

Versions

  • Python: 3.9
  • OS: MacOS 11.7
  • Kivy: 2.1.0
  • Cython:
  • OpenJDK:

Description

A recipe for psutil used to exist (see #157 , May 27, 2014). The simplest one I tried to create:

from pythonforandroid.recipe import PythonRecipe


class PsutilRecipe(PythonRecipe):
    version = "5.9.3"
    url = f'https://github.com/giampaolo/psutil/archive/refs/tags/release-{version}.tar.gz'
    depends = ["setuptools"]
    site_packages_name = 'psutil'
    call_hostpython_via_targetpython = False


recipe = PsutilRecipe()

and I have no knowledge of how to amend it (no skill about gcc compiling, linking etc.)

Activity

  1. changed the title [-]Lacking psutil recipe[/-] [+][proposed feature-request] Lacking psutil recipe[/+] on Nov 21, 2022
  2. RobertFlatt commented on Nov 23, 2022

    @RobertFlatt
    Contributor

    Android is not POSIX compliant.

    I think the interesting question about psutil is how much of it's functionality would be available from within an Android app?

  3. yves-surrel commented on Nov 23, 2022

    @yves-surrel
    Author

    It is possible to have an operative psutil in Pydroid3, so it could be possible to have psutil compiled properly...?

  4. yves-surrel commented on Nov 29, 2022

    @yves-surrel
    Author

    Actually, in my App, psutil was required by ipykernel. I specified ipykernel==5.5.5 in buildozer.spec which does not require psutil. So for my purpose, the problem is solved. But it may be useful to others, although @RobertFlatt answer is quite relevant.

  5. Julian-O commented on Nov 20, 2023

    @Julian-O
    Contributor

    No-one currently needs a recipe and it is unclear that it would be useful anyway. Closing as Not Planned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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