X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=Makefile;h=bae4fe1337a52a34b4967aa1740eec79828d2246;hb=refs%2Fchanges%2F83%2F1783%2F4;hp=8092b708c79ca122a08072f0a31162d84b9062d7;hpb=d32ca30e3f5b967c0bec020bc243321c201b40d8;p=osm%2Fopenvim.git diff --git a/Makefile b/Makefile index 8092b70..bae4fe1 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ clean: find osm_openvim -name '*.pyo' -delete prepare_lite: - pip install --upgrade setuptools + pip install --user --upgrade setuptools mkdir -p build VER1=$(shell git describe | sed -e 's/^v//' |cut -d- -f1); \ VER2=$(shell git describe | cut -d- -f2); \ @@ -36,9 +36,10 @@ prepare_lite: sed -i "s/from osm_openvim/from lib_osm_openvim/g" build/openflow-lib sed -i "s/import osm_openvim/import lib_osm_openvim/g" build/openflow-lib sed -i "s/import osm_openvim; print osm_openvim\.__path__\[0\]/import lib_osm_openvim; print lib_osm_openvim\.__path__\[0\]/g" build/lib_osm_openvim/database_utils/migrate_vim_db.sh + sed -i "s/__import__(\"osm_openvim\.\"/__import__(\"lib_osm_openvim\.\"/g" build/lib_osm_openvim/ovim.py prepare: - pip install --upgrade setuptools + pip install --user --upgrade setuptools mkdir -p build VER1=$(shell git describe | sed -e 's/^v//' |cut -d- -f1); \ VER2=$(shell git describe | cut -d- -f2); \ @@ -91,15 +92,11 @@ snap: echo "Nothing to be done yet" install: clean build + #cd build/dist; pip install --user osm_openvim* cd build/dist; pip install osm_openvim* install_lite: clean build_lite + #cd build/dist; pip install --user lib_osm_openvim-* cd build/dist; pip install lib_osm_openvim-* - - - - - -