Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in ci/templates/tox.ini? #24

Closed
tomschr opened this issue Jul 27, 2015 · 1 comment
Closed

Typo in ci/templates/tox.ini? #24

tomschr opened this issue Jul 27, 2015 · 1 comment

Comments

@tomschr
Copy link

tomschr commented Jul 27, 2015

When I try to run tox with tox -e bootstrap, I get the following output:

$ tox -e bootstrap
GLOB sdist-make: /local/doc/docmanager/setup.py
bootstrap installed: Jinja2==2.8,MarkupSafe==0.23,matrix==1.3.1,wheel==0.24.0
bootstrap runtests: PYTHONHASHSEED='411462886'
bootstrap runtests: commands[0] | python bootstrap.py
.tox/bootstrap/bin/python: can't open file 'bootstrap.py': [Errno 2] No such file or directory
ERROR: InvocationError: '/local/doc/docmanager/.tox/bootstrap/bin/python bootstrap.py'
______________ summary______________
ERROR:   bootstrap: commands failed

I think the ci/templates/tox.ini file contains a typo:

https://github.com/ionelmc/cookiecutter-pylibrary/blob/master/%7B%7Bcookiecutter.repo_name%7D%7D/ci/templates/tox.ini#L62

[testenv:bootstrap]
# Pruned some lines
commands =
    python bootstrap.py

should be this (see the ci/ before bootstrap.py):

[testenv:bootstrap]
# Pruned some lines
commands =
    python ci/bootstrap.py
@ionelmc
Copy link
Owner

ionelmc commented Jul 27, 2015

Thanks for reporting this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants