fix version in setup.py
This commit is contained in:
parent
2f8072e89e
commit
bc944f98fe
2 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@
|
||||||
function set_version {
|
function set_version {
|
||||||
echo -n "Replacing version in source files"
|
echo -n "Replacing version in source files"
|
||||||
for fl in $(find . -iname "*.py"); do
|
for fl in $(find . -iname "*.py"); do
|
||||||
sed "s/\(VERSION\|version\|release\) *= *[\"'][0-9]\+\..\+[\"']$/\1 = '$1'/g" $fl > $fl.new
|
sed "s/\(VERSION\|version\|release\) *= *[\"'][0-9]\+\..\+[\"'],?$/\1 = '$1'/g" $fl > $fl.new
|
||||||
diff $fl.new $fl >/dev/null && echo -n "." || echo -n "+"
|
diff $fl.new $fl >/dev/null && echo -n "." || echo -n "+"
|
||||||
cp -f $fl.new $fl
|
cp -f $fl.new $fl
|
||||||
rm -f $fl.new
|
rm -f $fl.new
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -193,7 +193,7 @@ if options.xdg:
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='weboob',
|
name='weboob',
|
||||||
version = '0.c',
|
version = '0.d',
|
||||||
description='Weboob, Web Out Of Browsers',
|
description='Weboob, Web Out Of Browsers',
|
||||||
long_description=open('README').read(),
|
long_description=open('README').read(),
|
||||||
author='Romain Bignon',
|
author='Romain Bignon',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue