Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
build/pkgs/sagelib/src/requirements.txt, tox.ini: New
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Jun 28, 2020
1 parent ef4f5b8 commit 233f6ba
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build/pkgs/sagelib/src/requirements.txt
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
32 changes: 32 additions & 0 deletions build/pkgs/sagelib/src/tox.ini
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'

0 comments on commit 233f6ba

Please sign in to comment.