Fix setup for test and python3
This commit is contained in:
parent
1adbe90c91
commit
b2b578e302
3
setup.py
3
setup.py
|
@ -38,6 +38,7 @@ info = dict(config.items('tryton'))
|
|||
for key in ('depends', 'extras_depend', 'xml'):
|
||||
if key in info:
|
||||
info[key] = info[key].strip().splitlines()
|
||||
|
||||
version = info.get('version', '0.0.1')
|
||||
major_version, minor_version, _ = version.split('.', 2)
|
||||
major_version = int(major_version)
|
||||
|
@ -115,4 +116,6 @@ setup(name='%s_%s' % (PREFIX, MODULE),
|
|||
""" % (MODULE, MODULE),
|
||||
test_suite='tests',
|
||||
test_loader='trytond.test_loader:Loader',
|
||||
tests_require=tests_require,
|
||||
use_2to3=True,
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue