-
Notifications
You must be signed in to change notification settings - Fork 640
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
setuptools_behave.py Subprocess call failing #310
Comments
Which platform (Windows, Linux, …) and which python version are you using ? |
I will fix it, but: For example on Windows, your search-path for Python should look like: On Windows, the search is not automatically set up like that by the Python installer. Therefore, the user should normally correct it in its environment setup. Similar problems may exist on MACOSX if you use an own installation (not the system installation). |
INTEGRATED INTO: behave-1.2.6.dev0 |
Sorry for the late reply. Thank you for looking into and fixing the issue. I'm on Windows with Python version 2.7.6. I've already set the PATH variable to include c:\python27\scripts. |
Problem is line |
@memee |
Ok, steps to reproduce
It checks for relative 'bin/behave' in working directory, doesn't it?
But behave is installed
|
@memee |
I'm not able to run the behave tests from setup.py and I think it is because of a bug in the behave_test.behave method;
The call return subprocess.call([sys.executable, behave] + shlex.split(cmd_options)) tries to call python.exe subprocess (and the rest of the arguments). Should it not be python -m behave (and the rest of the arguments) ?
The text was updated successfully, but these errors were encountered: