Skip to content

Commit 81442ce

Browse files
committed
use legacy setuptools build meta
1 parent 98e76ea commit 81442ce

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
22
requires = ["jupyterlab~=3.0", "setuptools>=40.8.0", "wheel"]
3-
build-backend = "setuptools.build_meta"
3+
build-backend = "setuptools.build_meta:__legacy__"

setup.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@
33

44
HERE = Path(__file__).parent.resolve()
55

6-
try:
7-
import setupbase
8-
except:
9-
import sys
10-
import os
11-
sys.path += [str(HERE)]
6+
import setupbase
127

138
from setupbase import (
149
log,

0 commit comments

Comments
 (0)