The-OpenROAD-Project / OpenROAD

OpenROAD's unified application implementing an RTL-to-GDS Flow. Documentation at https://openroad.readthedocs.io/en/latest/
https://theopenroadproject.org/
BSD 3-Clause "New" or "Revised" License
1.35k stars 481 forks source link

Python interface problem #5011

Closed fxxhuang closed 2 weeks ago

fxxhuang commented 2 weeks ago

Description

The official way to use the python interface is:

openroad -python script.py

Using the following method will report an error:

python script.py

Because SWIG compiles a static library, not a shared library. Python cannot use static libraries directly.

Suggested Solution

It would be great if you could use openroad's python package in the same way as other python packages.

Additional Context

No response

maliberty commented 2 weeks ago

Duplicate of https://github.com/The-OpenROAD-Project/OpenROAD/issues/2308