miracle2k / onkyo-eiscp

Control Onkyo A/V receivers over the network; usuable as a script, or as a Python library.
MIT License
466 stars 110 forks source link

[REQUEST] Eliminate need for setuptools #125

Open fuxxociety opened 3 years ago

fuxxociety commented 3 years ago

I'm attempting to package onkyo-eiscp into LibreELEC-9.2. The LibreELEC maintainers have decided, for whatever reason, not to include setuptools in the resultant image. I'm able to install docopt, netifaces, and onkyo-eiscp, however the entry point script '/usr/bin/onkyo' fails to run, complaining module pkg_resources could not be loaded

Digging around in the source, it seems the only reason setuptools is needed is for the entry point script '$INSTALL_ROOT/bin/onkyo', specifically [console_scripts].

I wouldn't mind making the required changes, but I'm not familiar with python. Is there another way to handle the executable entry point without using pkg_resources/console_scripts?

sk8er02 commented 2 years ago

Any update on this? Looks like setup tools is depreciated? Unable to install :(

Zardozof commented 1 year ago

hello, On Linux Mint 21, to get around the "easy_install onkyo-eiscp" installation error (ImportError: cannot import name 'main' from 'setuptools.command.easy_install'), I used this command "python3 -m pip install onkyo-eiscp".