passagemath-glucose 10.6.46__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of passagemath-glucose might be problematic. Click here for more details.
- passagemath_glucose-10.6.46/MANIFEST.in +24 -0
- passagemath_glucose-10.6.46/PKG-INFO +125 -0
- passagemath_glucose-10.6.46/README.rst +90 -0
- passagemath_glucose-10.6.46/VERSION.txt +1 -0
- passagemath_glucose-10.6.46/passagemath_glucose/__init__.py +3 -0
- passagemath_glucose-10.6.46/passagemath_glucose.egg-info/PKG-INFO +125 -0
- passagemath_glucose-10.6.46/passagemath_glucose.egg-info/SOURCES.txt +15 -0
- passagemath_glucose-10.6.46/passagemath_glucose.egg-info/dependency_links.txt +1 -0
- passagemath_glucose-10.6.46/passagemath_glucose.egg-info/requires.txt +4 -0
- passagemath_glucose-10.6.46/passagemath_glucose.egg-info/top_level.txt +1 -0
- passagemath_glucose-10.6.46/pyproject.toml +101 -0
- passagemath_glucose-10.6.46/repair_wheel.py +24 -0
- passagemath_glucose-10.6.46/sage/all__sagemath_glucose.py +4 -0
- passagemath_glucose-10.6.46/sage/libs/all__sagemath_glucose.py +1 -0
- passagemath_glucose-10.6.46/sage/libs/glucose.pyx +1 -0
- passagemath_glucose-10.6.46/setup.cfg +4 -0
- passagemath_glucose-10.6.46/setup.py +14 -0
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
graft passagemath_glucose
|
|
2
|
+
|
|
3
|
+
prune sage
|
|
4
|
+
|
|
5
|
+
include VERSION.txt
|
|
6
|
+
|
|
7
|
+
include sage/libs/glucose.p*
|
|
8
|
+
|
|
9
|
+
global-exclude *.c
|
|
10
|
+
global-exclude *.cpp
|
|
11
|
+
|
|
12
|
+
global-exclude all__sagemath_*.py
|
|
13
|
+
global-include all__sagemath_glucose.py
|
|
14
|
+
|
|
15
|
+
include repair_wheel.py
|
|
16
|
+
|
|
17
|
+
global-exclude __pycache__
|
|
18
|
+
global-exclude *.py[co]
|
|
19
|
+
global-exclude *.bak
|
|
20
|
+
global-exclude *.so
|
|
21
|
+
global-exclude *~
|
|
22
|
+
prune .tox
|
|
23
|
+
prune build
|
|
24
|
+
prune dist
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: passagemath-glucose
|
|
3
|
+
Version: 10.6.46
|
|
4
|
+
Summary: passagemath: Interface to the SAT solver glucose
|
|
5
|
+
Author-email: The Sage Developers <sage-support@googlegroups.com>
|
|
6
|
+
Maintainer: Matthias Köppe, passagemath contributors
|
|
7
|
+
License-Expression: GPL-2.0-or-later
|
|
8
|
+
Project-URL: release notes, https://github.com/passagemath/passagemath/releases
|
|
9
|
+
Project-URL: repo (upstream), https://github.com/sagemath/sage
|
|
10
|
+
Project-URL: repo, https://github.com/passagemath/passagemath
|
|
11
|
+
Project-URL: documentation, https://passagemath.org/docs/latest
|
|
12
|
+
Project-URL: homepage (upstream), https://www.sagemath.org
|
|
13
|
+
Project-URL: discourse, https://passagemath.discourse.group
|
|
14
|
+
Project-URL: tracker (upstream), https://github.com/sagemath/sage/issues
|
|
15
|
+
Project-URL: tracker, https://github.com/passagemath/passagemath/issues
|
|
16
|
+
Classifier: Development Status :: 6 - Mature
|
|
17
|
+
Classifier: Intended Audience :: Education
|
|
18
|
+
Classifier: Intended Audience :: Science/Research
|
|
19
|
+
Classifier: Operating System :: POSIX
|
|
20
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
21
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
22
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
28
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
29
|
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
30
|
+
Requires-Python: <3.15,>=3.10
|
|
31
|
+
Description-Content-Type: text/x-rst
|
|
32
|
+
Provides-Extra: test
|
|
33
|
+
Requires-Dist: passagemath-combinat; extra == "test"
|
|
34
|
+
Requires-Dist: passagemath-repl; extra == "test"
|
|
35
|
+
|
|
36
|
+
===============================================================================
|
|
37
|
+
passagemath: Interface to the SAT solver glucose
|
|
38
|
+
===============================================================================
|
|
39
|
+
|
|
40
|
+
`passagemath <https://github.com/passagemath/passagemath>`__ is open
|
|
41
|
+
source mathematical software in Python, released under the GNU General
|
|
42
|
+
Public Licence GPLv2+.
|
|
43
|
+
|
|
44
|
+
It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
|
|
45
|
+
developed 2005-2025 under the motto “Creating a Viable Open Source
|
|
46
|
+
Alternative to Magma, Maple, Mathematica, and MATLAB”.
|
|
47
|
+
|
|
48
|
+
The passagemath fork uses the motto "Creating a Free Passage Between the
|
|
49
|
+
Scientific Python Ecosystem and Mathematical Software Communities."
|
|
50
|
+
It was created in October 2024 with the following goals:
|
|
51
|
+
|
|
52
|
+
- providing modularized installation with pip,
|
|
53
|
+
- establishing first-class membership in the scientific Python
|
|
54
|
+
ecosystem,
|
|
55
|
+
- giving `clear attribution of upstream
|
|
56
|
+
projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
|
|
57
|
+
- providing independently usable Python interfaces to upstream
|
|
58
|
+
libraries,
|
|
59
|
+
- offering `platform portability and integration testing
|
|
60
|
+
services <https://github.com/passagemath/passagemath/issues/704>`__
|
|
61
|
+
to upstream projects,
|
|
62
|
+
- inviting collaborations with upstream projects,
|
|
63
|
+
- `building a professional, respectful, inclusive
|
|
64
|
+
community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
|
|
65
|
+
- `empowering Sage users to participate in the scientific Python ecosystem
|
|
66
|
+
<https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
|
|
67
|
+
- developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
|
|
68
|
+
serverless deployment with Javascript,
|
|
69
|
+
- developing a native Windows port.
|
|
70
|
+
|
|
71
|
+
`Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
|
|
72
|
+
available online.
|
|
73
|
+
|
|
74
|
+
passagemath attempts to support and provides binary wheels suitable for
|
|
75
|
+
all major Linux distributions and recent versions of macOS.
|
|
76
|
+
|
|
77
|
+
Binary wheels for native Windows (x86_64) are are available for a subset of
|
|
78
|
+
the passagemath distributions. Use of the full functionality of passagemath
|
|
79
|
+
on Windows currently requires the use of Windows Subsystem for Linux (WSL)
|
|
80
|
+
or virtualization.
|
|
81
|
+
|
|
82
|
+
The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.14.x.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
About this pip-installable distribution package
|
|
86
|
+
-----------------------------------------------
|
|
87
|
+
|
|
88
|
+
This pip-installable distribution ``passagemath-glucose`` provides an interface
|
|
89
|
+
to the SAT solver `glucose <http://www.labri.fr/perso/lsimon/glucose/>`_.
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
What is included
|
|
93
|
+
----------------
|
|
94
|
+
|
|
95
|
+
* Binary wheels on PyPI contain prebuilt copies of glucose executables.
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
Examples
|
|
99
|
+
--------
|
|
100
|
+
|
|
101
|
+
Using glucose programs on the command line::
|
|
102
|
+
|
|
103
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-glucose" sage -sh -c glucose
|
|
104
|
+
|
|
105
|
+
Finding the installation location of a glucose program::
|
|
106
|
+
|
|
107
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-glucose[test]" ipython
|
|
108
|
+
|
|
109
|
+
In [1]: from sage.features.sat import Glucose
|
|
110
|
+
|
|
111
|
+
In [2]: Glucose().absolute_filename()
|
|
112
|
+
Out[2]: '.../bin/glucose'
|
|
113
|
+
|
|
114
|
+
Use with `sage.sat <https://passagemath.org/docs/latest/html/en/reference/sat/index.html>`_::
|
|
115
|
+
|
|
116
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-glucose[test]" ipython
|
|
117
|
+
|
|
118
|
+
In [1]: from passagemath_glucose import *
|
|
119
|
+
|
|
120
|
+
In [2]: from sage.sat.solvers.dimacs import Glucose
|
|
121
|
+
|
|
122
|
+
In [3]: solver = Glucose(); solver.add_clause((1,2)); solver.add_clause((-1,2)); solver.add_clause((1,-2))
|
|
123
|
+
|
|
124
|
+
In [4]: solver()
|
|
125
|
+
Out[4]: (None, True, True)
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
===============================================================================
|
|
2
|
+
passagemath: Interface to the SAT solver glucose
|
|
3
|
+
===============================================================================
|
|
4
|
+
|
|
5
|
+
`passagemath <https://github.com/passagemath/passagemath>`__ is open
|
|
6
|
+
source mathematical software in Python, released under the GNU General
|
|
7
|
+
Public Licence GPLv2+.
|
|
8
|
+
|
|
9
|
+
It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
|
|
10
|
+
developed 2005-2025 under the motto “Creating a Viable Open Source
|
|
11
|
+
Alternative to Magma, Maple, Mathematica, and MATLAB”.
|
|
12
|
+
|
|
13
|
+
The passagemath fork uses the motto "Creating a Free Passage Between the
|
|
14
|
+
Scientific Python Ecosystem and Mathematical Software Communities."
|
|
15
|
+
It was created in October 2024 with the following goals:
|
|
16
|
+
|
|
17
|
+
- providing modularized installation with pip,
|
|
18
|
+
- establishing first-class membership in the scientific Python
|
|
19
|
+
ecosystem,
|
|
20
|
+
- giving `clear attribution of upstream
|
|
21
|
+
projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
|
|
22
|
+
- providing independently usable Python interfaces to upstream
|
|
23
|
+
libraries,
|
|
24
|
+
- offering `platform portability and integration testing
|
|
25
|
+
services <https://github.com/passagemath/passagemath/issues/704>`__
|
|
26
|
+
to upstream projects,
|
|
27
|
+
- inviting collaborations with upstream projects,
|
|
28
|
+
- `building a professional, respectful, inclusive
|
|
29
|
+
community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
|
|
30
|
+
- `empowering Sage users to participate in the scientific Python ecosystem
|
|
31
|
+
<https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
|
|
32
|
+
- developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
|
|
33
|
+
serverless deployment with Javascript,
|
|
34
|
+
- developing a native Windows port.
|
|
35
|
+
|
|
36
|
+
`Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
|
|
37
|
+
available online.
|
|
38
|
+
|
|
39
|
+
passagemath attempts to support and provides binary wheels suitable for
|
|
40
|
+
all major Linux distributions and recent versions of macOS.
|
|
41
|
+
|
|
42
|
+
Binary wheels for native Windows (x86_64) are are available for a subset of
|
|
43
|
+
the passagemath distributions. Use of the full functionality of passagemath
|
|
44
|
+
on Windows currently requires the use of Windows Subsystem for Linux (WSL)
|
|
45
|
+
or virtualization.
|
|
46
|
+
|
|
47
|
+
The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.14.x.
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
About this pip-installable distribution package
|
|
51
|
+
-----------------------------------------------
|
|
52
|
+
|
|
53
|
+
This pip-installable distribution ``passagemath-glucose`` provides an interface
|
|
54
|
+
to the SAT solver `glucose <http://www.labri.fr/perso/lsimon/glucose/>`_.
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
What is included
|
|
58
|
+
----------------
|
|
59
|
+
|
|
60
|
+
* Binary wheels on PyPI contain prebuilt copies of glucose executables.
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
Examples
|
|
64
|
+
--------
|
|
65
|
+
|
|
66
|
+
Using glucose programs on the command line::
|
|
67
|
+
|
|
68
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-glucose" sage -sh -c glucose
|
|
69
|
+
|
|
70
|
+
Finding the installation location of a glucose program::
|
|
71
|
+
|
|
72
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-glucose[test]" ipython
|
|
73
|
+
|
|
74
|
+
In [1]: from sage.features.sat import Glucose
|
|
75
|
+
|
|
76
|
+
In [2]: Glucose().absolute_filename()
|
|
77
|
+
Out[2]: '.../bin/glucose'
|
|
78
|
+
|
|
79
|
+
Use with `sage.sat <https://passagemath.org/docs/latest/html/en/reference/sat/index.html>`_::
|
|
80
|
+
|
|
81
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-glucose[test]" ipython
|
|
82
|
+
|
|
83
|
+
In [1]: from passagemath_glucose import *
|
|
84
|
+
|
|
85
|
+
In [2]: from sage.sat.solvers.dimacs import Glucose
|
|
86
|
+
|
|
87
|
+
In [3]: solver = Glucose(); solver.add_clause((1,2)); solver.add_clause((-1,2)); solver.add_clause((1,-2))
|
|
88
|
+
|
|
89
|
+
In [4]: solver()
|
|
90
|
+
Out[4]: (None, True, True)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
10.6.46
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: passagemath-glucose
|
|
3
|
+
Version: 10.6.46
|
|
4
|
+
Summary: passagemath: Interface to the SAT solver glucose
|
|
5
|
+
Author-email: The Sage Developers <sage-support@googlegroups.com>
|
|
6
|
+
Maintainer: Matthias Köppe, passagemath contributors
|
|
7
|
+
License-Expression: GPL-2.0-or-later
|
|
8
|
+
Project-URL: release notes, https://github.com/passagemath/passagemath/releases
|
|
9
|
+
Project-URL: repo (upstream), https://github.com/sagemath/sage
|
|
10
|
+
Project-URL: repo, https://github.com/passagemath/passagemath
|
|
11
|
+
Project-URL: documentation, https://passagemath.org/docs/latest
|
|
12
|
+
Project-URL: homepage (upstream), https://www.sagemath.org
|
|
13
|
+
Project-URL: discourse, https://passagemath.discourse.group
|
|
14
|
+
Project-URL: tracker (upstream), https://github.com/sagemath/sage/issues
|
|
15
|
+
Project-URL: tracker, https://github.com/passagemath/passagemath/issues
|
|
16
|
+
Classifier: Development Status :: 6 - Mature
|
|
17
|
+
Classifier: Intended Audience :: Education
|
|
18
|
+
Classifier: Intended Audience :: Science/Research
|
|
19
|
+
Classifier: Operating System :: POSIX
|
|
20
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
21
|
+
Classifier: Operating System :: MacOS :: MacOS X
|
|
22
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
24
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
27
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
28
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
29
|
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
30
|
+
Requires-Python: <3.15,>=3.10
|
|
31
|
+
Description-Content-Type: text/x-rst
|
|
32
|
+
Provides-Extra: test
|
|
33
|
+
Requires-Dist: passagemath-combinat; extra == "test"
|
|
34
|
+
Requires-Dist: passagemath-repl; extra == "test"
|
|
35
|
+
|
|
36
|
+
===============================================================================
|
|
37
|
+
passagemath: Interface to the SAT solver glucose
|
|
38
|
+
===============================================================================
|
|
39
|
+
|
|
40
|
+
`passagemath <https://github.com/passagemath/passagemath>`__ is open
|
|
41
|
+
source mathematical software in Python, released under the GNU General
|
|
42
|
+
Public Licence GPLv2+.
|
|
43
|
+
|
|
44
|
+
It is a fork of `SageMath <https://www.sagemath.org/>`__, which has been
|
|
45
|
+
developed 2005-2025 under the motto “Creating a Viable Open Source
|
|
46
|
+
Alternative to Magma, Maple, Mathematica, and MATLAB”.
|
|
47
|
+
|
|
48
|
+
The passagemath fork uses the motto "Creating a Free Passage Between the
|
|
49
|
+
Scientific Python Ecosystem and Mathematical Software Communities."
|
|
50
|
+
It was created in October 2024 with the following goals:
|
|
51
|
+
|
|
52
|
+
- providing modularized installation with pip,
|
|
53
|
+
- establishing first-class membership in the scientific Python
|
|
54
|
+
ecosystem,
|
|
55
|
+
- giving `clear attribution of upstream
|
|
56
|
+
projects <https://groups.google.com/g/sage-devel/c/6HO1HEtL1Fs/m/G002rPGpAAAJ>`__,
|
|
57
|
+
- providing independently usable Python interfaces to upstream
|
|
58
|
+
libraries,
|
|
59
|
+
- offering `platform portability and integration testing
|
|
60
|
+
services <https://github.com/passagemath/passagemath/issues/704>`__
|
|
61
|
+
to upstream projects,
|
|
62
|
+
- inviting collaborations with upstream projects,
|
|
63
|
+
- `building a professional, respectful, inclusive
|
|
64
|
+
community <https://groups.google.com/g/sage-devel/c/xBzaINHWwUQ>`__,
|
|
65
|
+
- `empowering Sage users to participate in the scientific Python ecosystem
|
|
66
|
+
<https://github.com/passagemath/passagemath/issues/248>`__ by publishing packages,
|
|
67
|
+
- developing a port to `Pyodide <https://pyodide.org/en/stable/>`__ for
|
|
68
|
+
serverless deployment with Javascript,
|
|
69
|
+
- developing a native Windows port.
|
|
70
|
+
|
|
71
|
+
`Full documentation <https://passagemath.org/docs/latest/html/en/index.html>`__ is
|
|
72
|
+
available online.
|
|
73
|
+
|
|
74
|
+
passagemath attempts to support and provides binary wheels suitable for
|
|
75
|
+
all major Linux distributions and recent versions of macOS.
|
|
76
|
+
|
|
77
|
+
Binary wheels for native Windows (x86_64) are are available for a subset of
|
|
78
|
+
the passagemath distributions. Use of the full functionality of passagemath
|
|
79
|
+
on Windows currently requires the use of Windows Subsystem for Linux (WSL)
|
|
80
|
+
or virtualization.
|
|
81
|
+
|
|
82
|
+
The supported Python versions in the passagemath 10.6.x series are 3.10.x-3.14.x.
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
About this pip-installable distribution package
|
|
86
|
+
-----------------------------------------------
|
|
87
|
+
|
|
88
|
+
This pip-installable distribution ``passagemath-glucose`` provides an interface
|
|
89
|
+
to the SAT solver `glucose <http://www.labri.fr/perso/lsimon/glucose/>`_.
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
What is included
|
|
93
|
+
----------------
|
|
94
|
+
|
|
95
|
+
* Binary wheels on PyPI contain prebuilt copies of glucose executables.
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
Examples
|
|
99
|
+
--------
|
|
100
|
+
|
|
101
|
+
Using glucose programs on the command line::
|
|
102
|
+
|
|
103
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-glucose" sage -sh -c glucose
|
|
104
|
+
|
|
105
|
+
Finding the installation location of a glucose program::
|
|
106
|
+
|
|
107
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-glucose[test]" ipython
|
|
108
|
+
|
|
109
|
+
In [1]: from sage.features.sat import Glucose
|
|
110
|
+
|
|
111
|
+
In [2]: Glucose().absolute_filename()
|
|
112
|
+
Out[2]: '.../bin/glucose'
|
|
113
|
+
|
|
114
|
+
Use with `sage.sat <https://passagemath.org/docs/latest/html/en/reference/sat/index.html>`_::
|
|
115
|
+
|
|
116
|
+
$ pipx run --pip-args="--prefer-binary" --spec "passagemath-glucose[test]" ipython
|
|
117
|
+
|
|
118
|
+
In [1]: from passagemath_glucose import *
|
|
119
|
+
|
|
120
|
+
In [2]: from sage.sat.solvers.dimacs import Glucose
|
|
121
|
+
|
|
122
|
+
In [3]: solver = Glucose(); solver.add_clause((1,2)); solver.add_clause((-1,2)); solver.add_clause((1,-2))
|
|
123
|
+
|
|
124
|
+
In [4]: solver()
|
|
125
|
+
Out[4]: (None, True, True)
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
MANIFEST.in
|
|
2
|
+
README.rst
|
|
3
|
+
VERSION.txt
|
|
4
|
+
pyproject.toml
|
|
5
|
+
repair_wheel.py
|
|
6
|
+
setup.py
|
|
7
|
+
passagemath_glucose/__init__.py
|
|
8
|
+
passagemath_glucose.egg-info/PKG-INFO
|
|
9
|
+
passagemath_glucose.egg-info/SOURCES.txt
|
|
10
|
+
passagemath_glucose.egg-info/dependency_links.txt
|
|
11
|
+
passagemath_glucose.egg-info/requires.txt
|
|
12
|
+
passagemath_glucose.egg-info/top_level.txt
|
|
13
|
+
sage/all__sagemath_glucose.py
|
|
14
|
+
sage/libs/all__sagemath_glucose.py
|
|
15
|
+
sage/libs/glucose.pyx
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
# Minimum requirements for the build system to execute.
|
|
3
|
+
requires = [
|
|
4
|
+
'setuptools >= 77.0.0',
|
|
5
|
+
'pkgconfig',
|
|
6
|
+
'passagemath-conf ~= 10.6.46.0 ; sys_platform != "win32"',
|
|
7
|
+
'passagemath-setup ~= 10.6.46.0',
|
|
8
|
+
'passagemath-categories ~= 10.6.46.0',
|
|
9
|
+
'passagemath-environment ~= 10.6.46.0',
|
|
10
|
+
'passagemath-objects ~= 10.6.46.0',
|
|
11
|
+
'cython >=3.0.8, <3.3.0', 'cython >=3.0.8,<3.3.0',
|
|
12
|
+
'cysignals !=1.12.4; sys_platform == "win32"', 'cysignals >=1.11.2, != 1.12.0',
|
|
13
|
+
]
|
|
14
|
+
build-backend = "setuptools.build_meta"
|
|
15
|
+
|
|
16
|
+
[project]
|
|
17
|
+
name = "passagemath-glucose"
|
|
18
|
+
description = "passagemath: Interface to the SAT solver glucose"
|
|
19
|
+
dependencies = [
|
|
20
|
+
]
|
|
21
|
+
dynamic = ["version"]
|
|
22
|
+
license = "GPL-2.0-or-later"
|
|
23
|
+
authors = [{name = "The Sage Developers", email = "sage-support@googlegroups.com"}]
|
|
24
|
+
maintainers = [
|
|
25
|
+
{name = "Matthias Köppe"},
|
|
26
|
+
{name = "passagemath contributors"},
|
|
27
|
+
]
|
|
28
|
+
classifiers = [
|
|
29
|
+
"Development Status :: 6 - Mature",
|
|
30
|
+
"Intended Audience :: Education",
|
|
31
|
+
"Intended Audience :: Science/Research",
|
|
32
|
+
"Operating System :: POSIX",
|
|
33
|
+
"Operating System :: POSIX :: Linux",
|
|
34
|
+
"Operating System :: MacOS :: MacOS X",
|
|
35
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
36
|
+
"Programming Language :: Python :: 3.10",
|
|
37
|
+
"Programming Language :: Python :: 3.11",
|
|
38
|
+
"Programming Language :: Python :: 3.12",
|
|
39
|
+
"Programming Language :: Python :: 3.13",
|
|
40
|
+
"Programming Language :: Python :: 3.14",
|
|
41
|
+
"Programming Language :: Python :: Implementation :: CPython",
|
|
42
|
+
"Topic :: Scientific/Engineering :: Mathematics",
|
|
43
|
+
]
|
|
44
|
+
requires-python = ">=3.10, <3.15"
|
|
45
|
+
|
|
46
|
+
[project.urls]
|
|
47
|
+
"release notes" = "https://github.com/passagemath/passagemath/releases"
|
|
48
|
+
"repo (upstream)" = "https://github.com/sagemath/sage"
|
|
49
|
+
"repo" = "https://github.com/passagemath/passagemath"
|
|
50
|
+
documentation = "https://passagemath.org/docs/latest"
|
|
51
|
+
"homepage (upstream)" = "https://www.sagemath.org"
|
|
52
|
+
"discourse" = "https://passagemath.discourse.group"
|
|
53
|
+
"tracker (upstream)" = "https://github.com/sagemath/sage/issues"
|
|
54
|
+
"tracker" = "https://github.com/passagemath/passagemath/issues"
|
|
55
|
+
|
|
56
|
+
[project.readme]
|
|
57
|
+
file = "README.rst"
|
|
58
|
+
content-type = "text/x-rst"
|
|
59
|
+
|
|
60
|
+
[project.optional-dependencies]
|
|
61
|
+
test = [
|
|
62
|
+
"passagemath-combinat",
|
|
63
|
+
"passagemath-repl",
|
|
64
|
+
]
|
|
65
|
+
|
|
66
|
+
[tool.cibuildwheel.linux]
|
|
67
|
+
repair-wheel-command = [
|
|
68
|
+
'python3 -m pip install passagemath-conf auditwheel',
|
|
69
|
+
'python3 {package}/repair_wheel.py {wheel}',
|
|
70
|
+
'auditwheel repair -w {dest_dir} {wheel}',
|
|
71
|
+
]
|
|
72
|
+
[tool.cibuildwheel.macos]
|
|
73
|
+
repair-wheel-command = [
|
|
74
|
+
'python3 -m pip install passagemath-conf auditwheel',
|
|
75
|
+
'python3 {package}/repair_wheel.py {wheel}',
|
|
76
|
+
'delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}',
|
|
77
|
+
]
|
|
78
|
+
|
|
79
|
+
[tool.setuptools]
|
|
80
|
+
include-package-data = false
|
|
81
|
+
|
|
82
|
+
[tool.setuptools.dynamic]
|
|
83
|
+
version = {file = ["VERSION.txt"]}
|
|
84
|
+
|
|
85
|
+
[external]
|
|
86
|
+
# External dependencies in the format proposed by https://peps.python.org/pep-0725
|
|
87
|
+
build-requires = [
|
|
88
|
+
"virtual:compiler/c",
|
|
89
|
+
"virtual:compiler/cpp",
|
|
90
|
+
"pkg:generic/pkg-config",
|
|
91
|
+
]
|
|
92
|
+
|
|
93
|
+
host-requires = [
|
|
94
|
+
"pkg:generic/glucose",
|
|
95
|
+
"pkg:generic/gmp",
|
|
96
|
+
"pkg:generic/mpc",
|
|
97
|
+
"pkg:generic/mpfr",
|
|
98
|
+
]
|
|
99
|
+
|
|
100
|
+
dependencies = [
|
|
101
|
+
]
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Add data to the wheel
|
|
2
|
+
|
|
3
|
+
import os
|
|
4
|
+
import shlex
|
|
5
|
+
import sys
|
|
6
|
+
|
|
7
|
+
from pathlib import Path
|
|
8
|
+
|
|
9
|
+
from auditwheel.wheeltools import InWheel
|
|
10
|
+
|
|
11
|
+
from sage_conf import SAGE_LOCAL
|
|
12
|
+
|
|
13
|
+
if "TMPDIR" in os.environ:
|
|
14
|
+
os.environ["TMPDIR"] = str(Path(os.environ["TMPDIR"]).resolve())
|
|
15
|
+
|
|
16
|
+
wheel = Path(sys.argv[1])
|
|
17
|
+
|
|
18
|
+
# SAGE_LOCAL/bin/glucose* --> sage_wheels/bin/glucose*
|
|
19
|
+
with InWheel(wheel, wheel):
|
|
20
|
+
command = f'set -o pipefail; (cd {shlex.quote(SAGE_LOCAL)} && tar cf - --dereference bin/glucose*) | (mkdir -p sage_wheels && cd sage_wheels && tar xvf -)'
|
|
21
|
+
print(f'Running {command}')
|
|
22
|
+
sys.stdout.flush()
|
|
23
|
+
if os.system(f"bash -c {shlex.quote(command)}") != 0:
|
|
24
|
+
sys.exit(1)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# sage_setup: distribution = sagemath-glucose
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
# sage_setup: distribution = sagemath-glucose
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
#!/usr/bin/env python
|
|
2
|
+
|
|
3
|
+
# PEP 517 builds do not have . in sys.path
|
|
4
|
+
import os
|
|
5
|
+
import sys
|
|
6
|
+
sys.path.insert(0, os.path.dirname(__file__))
|
|
7
|
+
|
|
8
|
+
from sage_setup import sage_setup
|
|
9
|
+
|
|
10
|
+
sage_setup(['sagemath-glucose'],
|
|
11
|
+
recurse_packages=('sage', 'passagemath_glucose'),
|
|
12
|
+
spkgs=['glucose'],
|
|
13
|
+
package_data={},
|
|
14
|
+
py_limited_api=True)
|