Add additional work on check-package.
This commit is contained in:
parent
16140bca3a
commit
95714eff8f
|
@ -7,5 +7,5 @@ from invoke import task, run
|
||||||
def setup_virtualenvs(ctx):
|
def setup_virtualenvs(ctx):
|
||||||
temp_dir = tempfile.mkdtemp()
|
temp_dir = tempfile.mkdtemp()
|
||||||
run('virtualenv {}'.format(temp_dir))
|
run('virtualenv {}'.format(temp_dir))
|
||||||
run('./{}/bin/activate'.format(temp_dir))
|
run('{}/bin/pip install -e .'.format(temp_dir))
|
||||||
run('pip install -e .')
|
# TODO: Run tests after the installation.
|
||||||
|
|
|
@ -16,4 +16,4 @@ virtualenv = "^16.0"
|
||||||
pytest = "^3.0"
|
pytest = "^3.0"
|
||||||
|
|
||||||
[tool.poetry.scripts]
|
[tool.poetry.scripts]
|
||||||
check-package = 'check_package.main:program'
|
'check-package' = 'check_package.main:program.run'
|
||||||
|
|
Loading…
Reference in New Issue