Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow installation via pipx #21

Open
StefanLobbenmeier opened this issue May 8, 2024 · 1 comment
Open

Allow installation via pipx #21

StefanLobbenmeier opened this issue May 8, 2024 · 1 comment

Comments

@StefanLobbenmeier
Copy link

StefanLobbenmeier commented May 8, 2024

Would be nice if installation via pipx was supported, so we can avoid cloning the repo manually. I just tried that and I got this result:

pipx install libdyson-neon
⚠️ Found a space in the home path. We heavily discourage this, due to multiple incompatibilities. Please check our docs for more information on this, as well as some pointers on how to
    migrate to a different home path.
Note: Dependent package 'charset-normalizer' contains 1 apps
  - normalizer

No apps associated with package libdyson-neon. Try again with '--include-deps' to include apps of dependent packages, which are listed above. If you are attempting to install a library, pipx should not be used. Consider using pip or a similar tool instead.

I guess there is some configuration needed to make get_devices.py the main entrypoint?

@StefanLobbenmeier
Copy link
Author

Alternative considered is doing this manually and just having nice steps for this in the readme. This is the commands I ran:

git clone https://github.com/libdyson-wg/libdyson-neon.git
cd libdyson-neon/
python3 -m venv ./venv
./venv/bin/pip install -r requirements.txt
./venv/bin/python get_devices.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant