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
57b037fd
Unverified
Commit
57b037fd
authored
Aug 03, 2023
by
Rhett Ying
Committed by
GitHub
Aug 03, 2023
Browse files
[dev] remove distutils from dependency (#6089)
parent
46809d29
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
15 deletions
+3
-15
dglgo/setup.py
dglgo/setup.py
+1
-3
python/dgl/__init__.py
python/dgl/__init__.py
+0
-2
python/setup.py
python/setup.py
+2
-10
No files found.
dglgo/setup.py
View file @
57b037fd
#!/usr/bin/env python
from
distutils.core
import
setup
from
setuptools
import
find_packages
from
setuptools
import
find_packages
,
setup
setup
(
name
=
"dglgo"
,
...
...
python/dgl/__init__.py
View file @
57b037fd
...
...
@@ -9,8 +9,6 @@ and transforming graphs.
# This initializes Winsock and performs cleanup at termination as required
import
socket
from
distutils.version
import
LooseVersion
# Backend and logging should be imported before other modules.
from
.logging
import
enable_verbose_logging
# usort: skip
from
.backend
import
backend_name
,
load_backend
# usort: skip
...
...
python/setup.py
View file @
57b037fd
...
...
@@ -2,21 +2,13 @@
# -*- coding: utf-8 -*-
import
glob
import
os
import
platform
import
shutil
import
sys
import
sysconfig
from
setuptools
import
find_packages
from
setuptools
import
find_packages
,
setup
from
setuptools.dist
import
Distribution
# need to use distutils.core for correct placement of cython dll
if
"--inplace"
in
sys
.
argv
:
from
distutils.core
import
setup
from
distutils.extension
import
Extension
else
:
from
setuptools
import
setup
from
setuptools.extension
import
Extension
from
setuptools.extension
import
Extension
class
BinaryDistribution
(
Distribution
):
...
...
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