Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dgl
Commits
5f653c32
Unverified
Commit
5f653c32
authored
Feb 28, 2024
by
Rhett Ying
Committed by
GitHub
Feb 28, 2024
Browse files
[dev] remove build artifacts for cleanup (#7166)
parent
ca355639
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
python/setup.py
python/setup.py
+7
-0
No files found.
python/setup.py
View file @
5f653c32
...
@@ -84,6 +84,13 @@ def cleanup():
...
@@ -84,6 +84,13 @@ def cleanup():
remove_lib
(
"dgl_sparse"
)
remove_lib
(
"dgl_sparse"
)
remove_lib
(
"graphbolt"
)
remove_lib
(
"graphbolt"
)
# Remove build artifacts.
dir_to_remove
=
[
"build"
,
"dist"
,
"dgl.egg-info"
]
for
dir_
in
dir_to_remove
:
print
(
f
"Removing
{
dir_
}
"
)
if
os
.
path
.
isdir
(
dir_
):
shutil
.
rmtree
(
dir_
)
def
config_cython
():
def
config_cython
():
"""Try to configure cython and return cython configuration"""
"""Try to configure cython and return cython configuration"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment