New issue 130: install_command w/ easy_install fails when tox is run twice https://bitbucket.org/hpk42/tox/issue/130/install_command-w-easy_install-fails-when
jenisys: VERSION INFO: tox 1.6.1 with python 2.7, virtualenv 0.10.1, setuptools 0.9.8 (or newer) When you use the new "install_command" with easy_install you get an error when you run the same test environment twice without recreating it. The problem occurs in the sdist installation step because 2 options "-U --no-deps" are appended after the package. shell> tox -e xxx -r shell> tox -e xxx ... cmdargs=[local('.../MY_PROJECT/.tox/xxx/bin/easy_install'), '-i', 'MY_INDEX_SERVER_URL', '.../MYPROJECT/.tox/dist/my_project-X.X.X.zip', '-U', '--no-deps'] ... error: Could not find suitable distribution for Requirement.parse('-U') The problem is the last 2 options "-U --no-deps" that are appended to the easy_install command-line. When you place these 2 options before the package, easy_install is happy and will install the package at the second time. EXAMPLE: # FILE: tox.ini ... [testenv:xxx] install_command = easy_install {opts} {packages} ... _______________________________________________ pytest-commit mailing list pytest-commit@python.org https://mail.python.org/mailman/listinfo/pytest-commit