mirror of
https://github.com/YosysHQ/sby.git
synced 2025-04-23 21:35:31 +00:00
Made into Python module
This commit is contained in:
parent
2fef25f93d
commit
d249e1f259
14 changed files with 30 additions and 24 deletions
6
Makefile
6
Makefile
|
@ -15,11 +15,7 @@ help:
|
|||
@echo ""
|
||||
|
||||
install:
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/bin
|
||||
mkdir -p $(DESTDIR)$(PREFIX)/share/yosys/python3
|
||||
cp sbysrc/sby_*.py $(DESTDIR)$(PREFIX)/share/yosys/python3/
|
||||
sed 's|##yosys-sys-path##|sys.path += [os.path.dirname(__file__) + p for p in ["/share/python3", "/../share/yosys/python3"]]|;' < sbysrc/sby.py > $(DESTDIR)$(PREFIX)/bin/sby
|
||||
chmod +x $(DESTDIR)$(PREFIX)/bin/sby
|
||||
pip3 install -e .
|
||||
|
||||
html:
|
||||
make -C docs html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue