-
Notifications
You must be signed in to change notification settings - Fork 30
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
Remove generated files on "pip uninstall" #37
Comments
Solution was found in the setuptools documentation: https://setuptools.readthedocs.io/en/latest/setuptools.html#new-and-changed-setup-keywords |
Fixed in #28 |
Specifically, the solution was to add a
The link above only mentions this can be used for a I found this, so it seems like the right thing to do. I just don't understand why it fixes the problem. |
Without |
Context: #28 (comment)
litghost commented 1 hour ago •
Try this, with ANTLR4 runtime installed:
python3 -mvenv test_env
source test_env/bin/activate
pip install -v git+https://github.com/HackerFoo/fasm.git@antltr_cpp
pip uninstall fasm
I get the following message when running pip uninstall fasm:
pip uninstall fasm
Found existing installation: fasm 0.0.2
Uninstalling fasm-0.0.2:
Would remove:
test_pip/bin/fasm
test_pip/lib/python3.7/site-packages/fasm-0.0.2-py3.7.egg-info
test_pip/lib/python3.7/site-packages/fasm/*
Would not remove (might be manually added):
test_pip/lib/python3.7/site-packages/fasm/parser/libparse_fasm.so
test_pip/lib/python3.7/site-packages/fasm/parser/tags.py
Proceed (y/n)?
Note the lines under Would not remove (might be manually added):. Even if I say y, it doesn't remove the .so and tags.py.
The text was updated successfully, but these errors were encountered: