[Pytest-commit] Issue #138: console script is not created when using Python 3 within testenv (hpk42/tox)

Lukasz Balcerzak issues-reply at bitbucket.org
Fri Nov 29 09:32:40 CET 2013


New issue 138: console script is not created when using Python 3 within testenv
https://bitbucket.org/hpk42/tox/issue/138/console-script-is-not-created-when-using

Lukasz Balcerzak:

I have a Python2/3 package and ``console_script`` directive at my setup.py. For some reason, tox works great for Python 2 but for Python 3 it doesn't install it.


```
#!shell

 ⮀ ~/develop/workspace/porunga ⮀ ⭠ py3shell-testenv ● ⮀ ls -l .tox/shell3/bin

 lukasz  staff   2232 Nov 29 09:23 activate
 lukasz  staff   1288 Nov 29 09:23 activate.csh
 lukasz  staff   2427 Nov 29 09:23 activate.fish
 lukasz  staff   1129 Nov 29 09:23 activate_this.py
 lukasz  staff    370 Nov 29 09:23 easy_install
 lukasz  staff    378 Nov 29 09:23 easy_install-3.3
 lukasz  staff    331 Nov 29 09:23 pip
 lukasz  staff    339 Nov 29 09:23 pip-3.3
 lukasz  staff      9 Nov 29 09:23 python -> python3.3
 lukasz  staff      9 Nov 29 09:23 python3 -> python3.3
 lukasz  staff  13188 Nov 29 09:23 python3.3
⮀ ~/develop/workspace/porunga ⮀ ⭠ py3shell-testenv ● ⮀ ls -l .tox/shell/bin

 lukasz  staff   2231 Nov 29 09:23 activate
 lukasz  staff   1287 Nov 29 09:23 activate.csh
 lukasz  staff   2426 Nov 29 09:23 activate.fish
 lukasz  staff   1129 Nov 29 09:23 activate_this.py
 lukasz  staff    369 Nov 29 09:23 easy_install
 lukasz  staff    377 Nov 29 09:23 easy_install-2.7
 lukasz  staff    330 Nov 29 09:23 pip
 lukasz  staff    338 Nov 29 09:23 pip-2.7
 lukasz  staff    359 Nov 29 09:23 porunga
 lukasz  staff      9 Nov 29 09:23 python -> python2.7
 lukasz  staff      9 Nov 29 09:23 python2 -> python2.7
 lukasz  staff  12624 Nov 29 09:23 python2.7

```

Am working on this at branch, here are codes: https://github.com/lukaszb/porunga/blob/py3shell-testenv/tox.ini




More information about the pytest-commit mailing list