Skip to content

Commit

Permalink
[py] Add sairedis python module skeleton (sonic-net#607)
Browse files Browse the repository at this point in the history
* [py] Add sairedis python module

* Update Makefiles

* Fix directory include
  • Loading branch information
kcudnik authored May 4, 2020
1 parent 1a61519 commit fea8e05
Show file tree
Hide file tree
Showing 5 changed files with 852 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.am
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SUBDIRS = meta lib vslib syncd saiplayer saidump saidiscovery tests saisdkdump
SUBDIRS = meta lib vslib syncd saiplayer saidump saidiscovery tests saisdkdump python
13 changes: 13 additions & 0 deletions python/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@

all: sairedis.cpp setup.py
python setup.py build

install: all
python setup.py install --user

.PHONY: clean

clean:
rm -f *.o *~
rm -rf build

Loading

0 comments on commit fea8e05

Please sign in to comment.