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

feat: remove empty folders on python uninstall #512

Merged

Conversation

baszalmstra
Copy link
Contributor

Remove empty folders when uninstalling a pypi dependency.

src/environment.rs Outdated Show resolved Hide resolved
@ruben-arts
Copy link
Contributor

pixi/examples/pypi on  fix/remove_uninstalled_python_dist [!?] 
❯ git diff pixi.toml
diff --git a/examples/pypi/pixi.toml b/examples/pypi/pixi.toml
index 06fb846..5eae860 100644
--- a/examples/pypi/pixi.toml
+++ b/examples/pypi/pixi.toml
@@ -17,7 +17,8 @@ libclang = "~=16.0.6"
 pyboy = "==1.6.6"
 tensorflow = "==2.14.0"
 flask = "*"
-black = "~=23.10"
+#black = "~=23.10"
+
 
 [system-requirements]
 # Tensorflow on macOS arm64 requires macOS 12.0 or higher

pixi/examples/pypi on  fix/remove_uninstalled_python_dist [!?] 
➜ tree .pixi/env/lib/python3.11/site-packages/black*
.pixi/env/lib/python3.11/site-packages/black
.pixi/env/lib/python3.11/site-packages/black-23.11.0.dist-info
└── licenses
.pixi/env/lib/python3.11/site-packages/blackd
.pixi/env/lib/python3.11/site-packages/black.libs

2 directories, 0 files

pixi/examples/pypi on  fix/remove_uninstalled_python_dist [!?] 

Not sure why this doesn't work for me.

Copy link
Contributor

@ruben-arts ruben-arts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never mind this worked, looks good to me!

@ruben-arts ruben-arts merged commit c5911d8 into prefix-dev:main Nov 28, 2023
9 checks passed
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

Successfully merging this pull request may close these issues.

2 participants