symforce-org / symforce

Fast symbolic computation, code generation, and nonlinear optimization for robotics
https://symforce.org
Apache License 2.0
1.41k stars 145 forks source link

Fix uninstall after `pip install .` #156

Open aaron-skydio opened 2 years ago

aaron-skydio commented 2 years ago

This does not affect installs via pip install symforce, but installs via pip install . do not track additional files installed by CMake (i.e. libraries and headers). They'll be overwritten correctly when re-installing, but will not be removed by pip uninstall symforce. Probably want to do something like what's suggested here to make setuptools aware of them so they're removed properly