-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add pyproject.toml, update installation instructions for modern Pytho…
…n packaging, fix docbuild, update CI scripts, add Cython 3 support (#139) * Add pyproject.toml * drop tests with python-3.6 and pari-2.9.5 * force Cython < 3 * add the downstream (Sage) patch for Cython 3+ * Revert "force Cython < 3" This reverts commit c473052. * install setuptools for the CI * trying a separate pip install * upgrade to version 68 * does "pip install" have any effect? * trying with -U * try in a venv * try -I * trying no-build-isolation * seems that wheel is needed * fix docbuild * Get rid of 'make build', direct use of 'setup.py' * Makefile: Don't use --no-index * Remove uses of practices predating PEP 517/518 * README.rst: Link to Sage reference manual for the PARI system package list * Makefile (install): Remove --no-build-isolation * Makefile (dist): Use pypa/build instead of using setup.py directly * .github/workflows/main.yml: Get rid of venv * .github/workflows/main.yml: Get rid of ccache --------- Co-authored-by: Vincent Delecroix <[email protected]> Co-authored-by: Dima Pasechnik <[email protected]>
- Loading branch information
1 parent
3660f17
commit 7386a9f
Showing
8 changed files
with
48 additions
and
43 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
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
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
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,2 @@ | ||
# See https://setuptools.pypa.io/en/latest/build_meta.html#dynamic-build-dependencies-and-other-build-meta-tweaks | ||
from setuptools.build_meta import * |
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
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
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,8 @@ | ||
[build-system] | ||
requires = ["setuptools", | ||
"Cython>=0.29", | ||
"cysignals>=1.7"] | ||
# We need access to the autogen package at build time. | ||
# Hence we declare a custom build backend. | ||
build-backend = "_custom_build_meta" # just re-exports setuptools.build_meta definitions | ||
backend-path = ["."] |
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