This repository has been archived by the owner on Jan 30, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build/pkgs/sagelib/src/requirements.txt, tox.ini: New
- Loading branch information
Matthias Koeppe
committed
Jun 28, 2020
1 parent
ef4f5b8
commit 233f6ba
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#sage_conf | ||
sage_setup @ file:///Users/mkoeppe/s/sage/sage-rebasing/worktree-algebraic-2018-spring/upstream/sage-setup-0.0.0.tar.gz | ||
six # use of six should be removed from sage_setup | ||
Cython==0.29.17 | ||
pkgconfig | ||
cysignals | ||
gmpy2==2.1.0b1 | ||
|
||
numpy # already needed by sage.env | ||
jinja2 # sage_setup.autogen.interpreters | ||
|
||
cypari2 # but building bdist_wheel of cypari2 fails with recent pip... https://github.com/sagemath/cypari2/issues/93 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# First pip-install tox: | ||
# | ||
# ./sage -pip install tox | ||
# | ||
# To build and test in the tox environment: | ||
# | ||
# ./sage -sh -c '(cd build/pkgs/sagelib/src && tox)' | ||
# | ||
# To test interactively: | ||
# | ||
# build/pkgs/sagelib/src/.tox/python/bin/python | ||
# | ||
[tox] | ||
|
||
[testenv] | ||
deps = -rrequirements.txt | ||
|
||
## passenv = | ||
## PATH | ||
## CC | ||
## CXX | ||
|
||
setenv = | ||
# Sage scripts such as sage-runtests like to use $HOME/.sage | ||
HOME={envdir} | ||
|
||
whitelist_externals = | ||
bash | ||
|
||
commands = | ||
# Beware of the treacherous non-src layout. "./sage/" shadows the install sage package. | ||
python -c 'import sys; "" in sys.path and sys.path.remove(""); import sage.all' |