Skip to content
This repository was archived by the owner on Feb 1, 2023. It is now read-only.

Commit 7dfb05a

Browse files
author
Release Manager
committed
Trac #31180: Add snappy as a pip package
Following the instructions from #31176. (see also https://snappy.math.uic.edu/installing.html#sagemath) URL: https://trac.sagemath.org/31180 Reported by: mkoeppe Ticket author(s): Matthias Koeppe Reviewer(s): Nathan Dunfield
2 parents ca1e4a1 + fb5366d commit 7dfb05a

File tree

4 files changed

+39
-0
lines changed

4 files changed

+39
-0
lines changed

build/pkgs/snappy/SPKG.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
snappy: Topology and geometry of 3-manifolds, with a focus on hyperbolic structures
2+
===================================================================================
3+
4+
Description
5+
-----------
6+
7+
Studying the topology and geometry of 3-manifolds, with a focus on hyperbolic structures.
8+
9+
License
10+
-------
11+
12+
GPLv2+
13+
14+
Upstream Contact
15+
----------------
16+
17+
https://pypi.org/project/snappy/
18+

build/pkgs/snappy/dependencies

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
$(PYTHON) decorator ipython cypari | $(PYTHON_TOOLCHAIN) sagelib
2+
3+
----------
4+
All lines of this file are ignored except the first.
5+
6+
The dependency cypari above is actually cypari2.
7+
8+
An installed sagelib is needed when snappy is installed from source (instead of a wheel)
9+
because snappy's setup.py tests its presence to adjust dependencies.
10+
https://trac.sagemath.org/ticket/31180

build/pkgs/snappy/requirements.txt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Note: As of 2021-01, snappy will pull in cypari (!= cypari2) as a dependency
2+
# if installed as a wheel but will actually use Sage's cypari2.
3+
# cypari contains a statically linked copy of pari and other libraries
4+
# and will remain completely unused (wastes 30M). Snappy is about 165M.
5+
# See https://trac.sagemath.org/ticket/31180
6+
snappy
7+
# cypari 2.4.0 has a broken sdist, https://trac.sagemath.org/ticket/31180
8+
cypari !=2.4.0
9+
# An optional database (110M uncompressed)
10+
snappy_15_knots

build/pkgs/snappy/type

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
optional

0 commit comments

Comments
 (0)