YosysHQ / oss-cad-suite-build

Multi-platform nightly builds of open source digital design and verification tools
ISC License
742 stars 67 forks source link

Extra /pyhdl/migen prefix in pyhdl.pth causes pip to not find amaranth and amaranth-boards #76

Open vincentbaeten opened 11 months ago

vincentbaeten commented 11 months ago

Using the 2023-07-32 it seems that the path to amaranth and amaranth-boards is wrong in the oss-cad-suite/lib/python3.8/site-packages/pyhdl.pth file. Because of this, pip cannot find the amaranth and amaranth-board packages.

My output of the pyhdl.pth file:

./pyhdl/migen/pyhdl/amaranth-boards
./pyhdl/migen/pyhdl/amaranth
./pyhdl/migen/importlib_resources-6.0.0-py3.8.egg
./pyhdl/migen/Jinja2-3.1.2-py3.8.egg
./pyhdl/migen/pyvcd-0.4.0-py3.8.egg
./pyhdl/migen/zipp-3.16.2-py3.8.egg
./pyhdl/migen/MarkupSafe-2.1.3-py3.8-linux-x86_64.egg
./pyhdl/migen
./colorama-0.4.6-py3.8.egg
./pyhdl/migen/pyhdl/migen

Manually removing the prefix /pyhdl/migen part seems to fix this issue and it seems that /pyhdl/migen is inserted twice.