Skip to content

Commit 1716ada

Browse files
committed
WIP: specify requires versions and build backend
Also use __file__ to determine path
1 parent 49ffb97 commit 1716ada

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
2-
# Minimum requirements for the build system to execute.
3-
requires = ["setuptools", "wheel", "jupyterlab==3.*"]
2+
requires = ["jupyterlab>=3.0.0", "setuptools>=40.8.0", "wheel"]
3+
build-backend = "setuptools.build_meta"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
LONG_DESCRIPTION = 'A Python/ThreeJS bridge utilizing the Jupyter widget infrastructure.'
2626

27-
here = os.path.abspath(os.path.dirname(sys.argv[0]))
27+
here = os.path.dirname(os.path.abspath(__file__))
2828
name = 'pythreejs'
2929
version = get_version(os.path.join(here, name, '_version.py'))
3030

0 commit comments

Comments
 (0)