-
Notifications
You must be signed in to change notification settings - Fork 17
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
make clean
removes venv directory in source path unconditionally
#159
Comments
Sounds reasonable 👍 @bertsky any consequences we're not seeing? |
In the current rule definition, If both coincide, then it is removed. So you want to back out of that decision?
What do you propose? Replace the |
Maybe a comment can also be added: "Remove virtual environment only if it was not active outside of the make context.". |
Wrong, it does work, should have checked. |
Improved version:
|
I was also surprised about that. |
That's not correct. This would even snatch away an externally controlled venv passed in via |
Well, it does not snatch if the external But I agree that using macros which come from outside with |
Ideally it would only remove files created by the build process.
If the user has created the
venv
directory manually and added own content, removing that directory might be bad.Makefile could check whether that virtual environment was active outside of make and skip the removal then.
The text was updated successfully, but these errors were encountered: