"Fix egg on dependency links [SKIP CI]."
This commit is contained in:
parent
2b9212911d
commit
57d41f21b5
|
@ -42,3 +42,9 @@ matrix:
|
|||
- IMAGE: python:3.7
|
||||
TOXENV: py37
|
||||
DATABASE: postgresql
|
||||
- IMAGE: python:3.8
|
||||
TOXENV: py38
|
||||
DATABASE: sqlite
|
||||
- IMAGE: python:3.8
|
||||
TOXENV: py38
|
||||
DATABASE: postgresql
|
13
setup.py
13
setup.py
|
@ -50,15 +50,15 @@ dependency_links = {
|
|||
'trytond-product_cross_reference@%(branch)s'
|
||||
'#egg=datalife_product_cross_reference-%(series)s' % {
|
||||
'branch': branch,
|
||||
'series': series,
|
||||
},
|
||||
'series': series
|
||||
},
|
||||
'stock_location_cross_reference':
|
||||
'git+https://gitlab.com/datalifeit/'
|
||||
'trytond-stock_location_cross_reference@%(branch)s'
|
||||
'#egg=datalife_stock_location_cross_reference-%(series)s' % {
|
||||
'branch': branch,
|
||||
'series': series,
|
||||
}
|
||||
'series': series
|
||||
},
|
||||
}
|
||||
|
||||
requires = []
|
||||
|
@ -73,8 +73,9 @@ requires.append(get_require_version('trytond'))
|
|||
|
||||
tests_require = [
|
||||
get_require_version('proteus'),
|
||||
'datalife_product_cross_reference',
|
||||
'datalife_stock_location_cross_reference']
|
||||
get_require_version('datalife_product_cross_reference'),
|
||||
get_require_version('datalife_stock_location_cross_reference')
|
||||
]
|
||||
|
||||
dependency_links = list(dependency_links.values())
|
||||
if minor_version % 2:
|
||||
|
|
4
tox.ini
4
tox.ini
|
@ -1,10 +1,10 @@
|
|||
[tox]
|
||||
envlist = {py36,py37}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
|
||||
envlist = {py36,py37,py38}-{sqlite,postgresql},pypy3-{sqlite,postgresql}
|
||||
|
||||
[testenv]
|
||||
commands = {envpython} setup.py test
|
||||
deps =
|
||||
{py36,py37}-postgresql: psycopg2 >= 2.5
|
||||
{py36,py37,py38}-postgresql: psycopg2 >= 2.5
|
||||
pypy3-postgresql: psycopg2cffi >= 2.5
|
||||
{py36}-sqlite: sqlitebck
|
||||
setenv =
|
||||
|
|
Loading…
Reference in New Issue