Skip to content

Commit

Permalink
No Python 2 anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
Winfried Bruns committed Aug 25, 2021
1 parent 084bb74 commit 63070b1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
1 change: 0 additions & 1 deletion .ci-run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,4 @@ set -e # exit on error
set -x # print command before execution

cd /tmp/Normaliz/PyNormaliz
python2 tests/runtests.py
python3 tests/runtests.py
7 changes: 0 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@ jobs:
- name: "Install prerequisites and Normaliz"
run: |
sudo apt-get install libgmp-dev
sudo apt-get install libpython2-dev
sudo apt-get install libpython3-dev
# pip2 install coverage
# pip3 install coverage
# pip install setuptools
sudo apt-get install python-setuptools
pip3 install setuptools
./.ci-install-normaliz.sh
- name: "Install PyNormaliz"
Expand All @@ -42,12 +39,10 @@ jobs:
- name: "Install prerequisites and Normaliz"
run: |
sudo apt-get install libgmp-dev
sudo apt-get install libpython2-dev
sudo apt-get install libpython3-dev
# pip2 install coverage
# pip3 install coverage
# pip install setuptools
sudo apt-get install python-setuptools
pip3 install setuptools
./.ci-install-normaliz.sh
- name: "Install PyNormaliz"
Expand All @@ -73,9 +68,7 @@ jobs:
brew reinstall llvm automake
- name: "Install Python prerequisites"
run: |
pip install coverage
pip3 install coverage
pip install setuptools
pip3 install setuptools
- name: "Install Normaliz"
run: |
Expand Down
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ A full documentation is conatined in [Appendix E](doc/PyNormaliz.pdf) of the Nor

## Requirements

* python 2.7 or higher or python 3.4 or higher
* python 3.4 or higher
* Normaliz 3.9.0 or higher <https://github.com/Normaliz/Normaliz/releases>

(The current version of PyNormaliz is under construction. Normaliz 3.9.0 not yet released. Use current master of Normaliz for current master of PyNormaliz.) The source packages of the Normaliz realeases contain PyNormaliz.
The source packages of the Normaliz realeases contain PyNormaliz.

## Installation

Expand All @@ -33,8 +33,6 @@ The command Cone creates a cone (and a lattice), and the member functions
of Cone compute its properties. For a full list of input and output
properties, see the Normaliz manual.

We assume that you are running python 3.

Start by

import PyNormaliz
Expand Down
Binary file modified doc/PyNormaliz.pdf
Binary file not shown.

0 comments on commit 63070b1

Please sign in to comment.