Skip to content
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 RobotPy when deploying Java on a RoboRIO I #712

Open
virtuald opened this issue Jan 8, 2024 · 1 comment
Open

Remove RobotPy when deploying Java on a RoboRIO I #712

virtuald opened this issue Jan 8, 2024 · 1 comment

Comments

@virtuald
Copy link
Member

virtuald commented Jan 8, 2024

Users reporting disk space issues.

RobotPy's uninstall procedure is: https://github.com/robotpy/robotpy-installer/blob/266a07cf51d34902f4bda4e7e68bbb8f0a40ca37/robotpy_installer/installer.py#L353

However, we probably should also remove all the pip packages, and the users code at /home/lvuser/py. The quickest way to get rid of most of the installed stuff is by removing /usr/local/lib/python312... but there are some things in /usr/local/lib/*.so also (if opencv is installed). Will have to look at a good way to do it, using pip would be really slow.

@virtuald
Copy link
Member Author

virtuald commented Jan 12, 2024

See robotpy/robotpy-installer#93 for how robotpy-installer does it. pip isn't that slow for uninstallation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant