prepare_lite:
#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); \
- #VER3=$(shell git describe | cut -d- -f3); \
+ #VER1=$(shell git describe --match v*| sed -e 's/^v//' |cut -d- -f1); \
+ #VER2=$(shell git describe --match v*| cut -d- -f2); \
+ #VER3=$(shell git describe --match v*| cut -d- -f3); \
#echo "$$VER1.dev$$VER2+$$VER3" > build/OVIM_VERSION
cp tox.ini build/
cp MANIFEST.in build/
prepare:
#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); \
- #VER3=$(shell git describe | cut -d- -f3); \
+ #VER1=$(shell git describe --match v*| sed -e 's/^v//' |cut -d- -f1); \
+ #VER2=$(shell git describe --match v*| cut -d- -f2); \
+ #VER3=$(shell git describe --match v*| cut -d- -f3); \
#echo "$$VER1.dev$$VER2+$$VER3" > build/OPENVIM_VERSION
cp tox.ini build/
cp MANIFEST.in build/
'osm_openvim/scripts/get_dhcp_lease.sh']
setup(name=__name,
- version_command=('git describe', 'pep440-git'),
+ version_command=('git describe --match v*', 'pep440-git'),
description=__description,
long_description=__description,
author=__author,
__scripts__ = ['openflow-lib']
setup(name=__name,
- version_command=('git describe', 'pep440-git'),
+ version_command=('git describe --match v*', 'pep440-git'),
description=__description,
long_description=__description,
author=__author,