python-synology icon indicating copy to clipboard operation
python-synology copied to clipboard

requirements.txt is missing in SDIST source on Pypi, can't compile.

Open onkelbeh opened this issue 4 years ago • 5 comments

Hi,

I hope you don't mind that I use your integration in Gentoo Overlay for Home Assistant. You will find the corresponding Ebuild files in https://github.com/onkelbeh/HomeAssistantRepository/tree/master/dev-python/python-synology.

Normally I would use the release file from Pypi in SDIST format, which you already provide, because this is technically the best source for Gentoo Python Ebuilds, it is able to use Gentoo's mirror system.

Unfortunately these file is broken in all tested releases (0.7.0 - 0.8.2): requirements.txt is missing in the archives, so setup.py fails.

I now use the archives from github.com. These compile without errors.

Thanks a lot.

onkelbeh avatar Aug 25 '20 17:08 onkelbeh

Hi !

I don't mind this library is ment to be used on multiple projects of course ! already used in Home Assistant actually : https://github.com/home-assistant/core/tree/dev/homeassistant/components/synology_dsm

Unfortunately I don't know why this file is broken, I don't know enought about build with setup.py at the time.

Can you try to fix the build ? Provides working libraries as an exemple ?

I'll be happy to review your PR.

Thanks.

Quentame avatar Sep 30 '20 11:09 Quentame

Hi,

yes, that's what the repo is for: Home Assistant on Gentoo Linux.

Unfortunately I don't know anything about GitHub skripting. I could look at some other integrations and what they did to fix this (you are not alone) :-) No need to hurry, as long as your release tags at GitHub work fine. As soon as I stumble upon a good release script, I'll let you know.

Greetings \B.

onkelbeh avatar Sep 30 '20 15:09 onkelbeh

When do you plan to fix this issue? I am not able to use your library? Or is there a workarround?

digi100 avatar Oct 03 '20 09:10 digi100

My current workaroud is to use the source from Github, it compiles fine.

onkelbeh avatar Oct 04 '20 08:10 onkelbeh

Could you please provide me a hint how to complile it localy, Which commands do I have to use?

digi100 avatar Oct 04 '20 12:10 digi100