setup - read_file
This commit is contained in:
parent
0e8dc38abb
commit
4dde704e57
1 changed files with 1 additions and 1 deletions
2
setup.py
2
setup.py
|
@ -22,7 +22,7 @@ with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
|
||||||
|
|
||||||
# tryton.cfg einlesen
|
# tryton.cfg einlesen
|
||||||
config = ConfigParser()
|
config = ConfigParser()
|
||||||
config.readfp(open('tryton.cfg'))
|
config.read_file(open('tryton.cfg'))
|
||||||
info = dict(config.items('tryton'))
|
info = dict(config.items('tryton'))
|
||||||
for key in ('depends', 'extras_depend', 'xml'):
|
for key in ('depends', 'extras_depend', 'xml'):
|
||||||
if key in info:
|
if key in info:
|
||||||
|
|
Loading…
Reference in a new issue