Skip to content

Commit

Permalink
Remove uses of practices predating PEP 517/518
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Oct 6, 2023
1 parent ae68244 commit 5fe2b2e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 19 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@ jobs:
run: |
python3 -m venv tvenv
. tvenv/bin/activate
pip install -Iv setuptools==68.2.2
pip install sphinx cython cysignals wheel
pip install sphinx
make install
make check
(cd docs && make html)
29 changes: 12 additions & 17 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,20 @@ A Python interface to the number theory library `PARI/GP <http://pari.math.u-bor
Installation
------------

GNU/Linux
^^^^^^^^^
From a distribution package (GNU/Linux, conda-forge)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

A package `python-cypari2` or `python2-cypari2` or `python3-cypari2` might be
available in your package manager.
A package might be available in your package manager, see
https://repology.org/project/python:cypari2/versions

Using pip
^^^^^^^^^
From source with pip
^^^^^^^^^^^^^^^^^^^^

Requirements:

- PARI/GP >= 2.9.4 (header files and library)
- Python >= 3.6
- pip
- `cysignals <https://pypi.python.org/pypi/cysignals/>`_ >= 1.7
- Cython >= 0.29

Install cypari2 via the Python Package Index (PyPI) via

Expand All @@ -34,10 +32,13 @@ Install cypari2 via the Python Package Index (PyPI) via
$ pip install cypari2 [--user]

(the optional option *--user* allows to install cypari2 for a single user
and avoids using pip with administrator rights). Depending on your operating
system the pip command might also be called pip3.
and avoids using pip with administrator rights).

If you want to try the development version use
`pip` builds the package using build isolation. All Python build dependencies
of the package, declared in pyproject.toml, are automatically installed in
a temporary virtual environment.

If you want to try the development version, use

::

Expand All @@ -51,12 +52,6 @@ already installed, try to reinstall cysignals and cypari2
$ pip install cysignals --upgrade [--user]
$ pip install cypari2 --upgrade [--user]

Other
^^^^^

Any other way to install cypari2 is not supported. In particular, ``python
setup.py install`` will produce an error.

Usage
-----

Expand Down

0 comments on commit 5fe2b2e

Please sign in to comment.