Skip to content

Commit

Permalink
[python-saithrift package]: Install package into /usr/, not /usr/loca…
Browse files Browse the repository at this point in the history
…l/ (#606)

* Install python module into /usr/lib
  • Loading branch information
lguohan authored May 30, 2017
1 parent a967527 commit 940c7b6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion debian/python-saithrift.dirs

This file was deleted.

2 changes: 1 addition & 1 deletion debian/python-saithrift.install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
debian/usr/local/lib/python2.7/site-packages/* usr/include/local/lib/python2.7/site-packages
debian/usr/lib/python2.7/site-packages/* usr/include/lib/python2.7/site-packages
2 changes: 1 addition & 1 deletion test/saithrift/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ install-lib: $(ODIR)/librpcserver.a
$(INSTALL) -D $(SRC)/switch_sai_rpc_server.h $(DESTDIR)/usr/include/switch_sai_rpc_server.h

install-pylib: $(PY_SOURCES) $(SAI_PY_HEADERS)
python setup.py install --prefix $(DESTDIR)/usr/local$(prefix)
python setup.py install --prefix $(DESTDIR)/usr$(prefix)

install: install-lib install-pylib

Expand Down

0 comments on commit 940c7b6

Please sign in to comment.