conda-forge / pyelftools-feedstock

A conda-smithy repository for pyelftools.
BSD 3-Clause "New" or "Revised" License
0 stars 8 forks source link

Retry `noarch: python` #32

Open jakirkham opened 2 months ago

jakirkham commented 2 months ago

It looks like noarch: python has been tried here before, but was disabled as there were scripts in the recipe directory

https://github.com/conda-forge/pyelftools-feedstock/blob/14550f74647a6eeae0862df6cc8ad10942b052a9/recipe/meta.yaml#L13-L17

However it looks like there are no scripts in the recipe directory currently

So could we try making this noarch: python again? This would allow the same packages to be installed on other platforms

jakirkham commented 2 months ago

Or am I misunderstanding that comment and it is referring to the scripts in setup.py?

Here is the relevant line from setup.py

    scripts=['scripts/readelf.py'],
ocefpaf commented 2 months ago

Or am I misunderstanding that comment and it is referring to the scripts in setup.py?

Yep. Those are problematic to conda. I'm not sure if this is still an issue. If my memory is correct the problem is that the script is not added to the path on Windows and one must call it using the full path.