Skip to content

Commit 32320ad

Browse files
author
Matthias Koeppe
committed
pkgs/sagemath-standard: Make sagemath-environment a build-requirement instead of manipulating sys.path
1 parent 04906e4 commit 32320ad

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

pkgs/sagemath-standard/pyproject.toml.m4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ requires = [
1010
setuptools \
1111
wheel \
1212
sage_setup \
13+
sagemath_environment \
1314
cypari \
1415
cysignals \
1516
cython \

pkgs/sagemath-standard/setup.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@
2828
### Set source directory
2929
#########################################################
3030

31-
# PEP 517 builds do not have . in sys.path
32-
sys.path.insert(0, os.path.dirname(__file__))
33-
3431
import sage.env
3532
sage.env.SAGE_SRC = os.getcwd()
3633
from sage.env import *

0 commit comments

Comments
 (0)