Skip to content

Commit 07c5b67

Browse files
committed
Require Python >= 2.7 in setup.py
1 parent 5e35cbf commit 07c5b67

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ env:
3838
- PYTHON_VERSION="2.7" BUILD_SHARED_LIBS="yes"
3939

4040
# These test the setup.py file
41-
- PYTHON_VERSION="2.6" WITH_MPFR="yes" INTEGER_CLASS="gmp"
42-
- PYTHON_VERSION="2.7" WITH_MPC="yes"
41+
- PYTHON_VERSION="2.7" WITH_MPFR="yes" INTEGER_CLASS="gmp"
4342
- PYTHON_VERSION="3.3" WITH_MPC="yes"
4443
- PYTHON_VERSION="3.4" WITH_MPFR="yes" WITH_NUMPY="yes"
4544
- PYTHON_VERSION="3.5" WITH_MPFR="yes" WITH_NUMPY="yes"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ a fast C++ symbolic manipulation library.
1111

1212
add-apt-repository ppa:symengine/ppa
1313
apt-get update
14-
apt-get install python-symengine
14+
apt-get install python-symengine # or python3-symengine if using python3
1515

1616
### Conda package manager
1717

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
import sys
55

66
# Make sure the system has the right Python version.
7-
if sys.version_info[:2] < (2, 6):
8-
print("SymEngine requires Python 2.6 or newer. Python %d.%d detected" % sys.version_info[:2])
7+
if sys.version_info[:2] < (2, 7):
8+
print("SymEngine requires Python 2.7 or newer. Python %d.%d detected" % sys.version_info[:2])
99
sys.exit(-1)
1010

1111
# use setuptools by default as per the official advice at:
@@ -196,7 +196,6 @@ def run(self):
196196
'Topic :: Scientific/Engineering',
197197
'Topic :: Scientific/Engineering :: Mathematics',
198198
'Topic :: Scientific/Engineering :: Physics',
199-
'Programming Language :: Python :: 2.6',
200199
'Programming Language :: Python :: 2.7',
201200
'Programming Language :: Python :: 3.3',
202201
'Programming Language :: Python :: 3.4',

0 commit comments

Comments
 (0)