diff --git a/.travis.yml b/.travis.yml index 875031217..82f035d4f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -38,8 +38,7 @@ env: - PYTHON_VERSION="2.7" BUILD_SHARED_LIBS="yes" # These test the setup.py file - - PYTHON_VERSION="2.6" WITH_MPFR="yes" INTEGER_CLASS="gmp" - - PYTHON_VERSION="2.7" WITH_MPC="yes" + - PYTHON_VERSION="2.7" WITH_MPFR="yes" INTEGER_CLASS="gmp" - PYTHON_VERSION="3.3" WITH_MPC="yes" - PYTHON_VERSION="3.4" WITH_MPFR="yes" WITH_NUMPY="yes" - PYTHON_VERSION="3.5" WITH_MPFR="yes" WITH_NUMPY="yes" diff --git a/README.md b/README.md index ea8060229..03a32a106 100644 --- a/README.md +++ b/README.md @@ -7,16 +7,27 @@ a fast C++ symbolic manipulation library. ## Installation +### Ubuntu package manager + + add-apt-repository ppa:symengine/ppa + apt-get update + apt-get install python-symengine # or python3-symengine if using python3 + +### Conda package manager + + conda install python-symengine -c symengine -c conda-forge + +### Build from source + Install prerequisites. CMake >= 2.8.7 - Python2 >= 2.6 or Python3 >= 3.3 - Cython >= 0.19.1 and != 0.24 - SymEngine >= 0.1.0 + Python2 >= 2.7 or Python3 >= 3.3 + Cython >= 0.19.1 + SymEngine >= 0.2.0 -For SymEngine, only a specific commit (see symengine_version.txt) is supported. +For SymEngine, only a specific commit/tag (see symengine_version.txt) is supported. Latest git master branch may not work as there may be breaking changes in SymEngine. -Cython v0.24 is not supported yet. Python wrappers can be installed by, diff --git a/setup.py b/setup.py index af1b44dc2..ce4cca0ad 100644 --- a/setup.py +++ b/setup.py @@ -4,8 +4,8 @@ import sys # Make sure the system has the right Python version. -if sys.version_info[:2] < (2, 6): - print("SymEngine requires Python 2.6 or newer. Python %d.%d detected" % sys.version_info[:2]) +if sys.version_info[:2] < (2, 7): + print("SymEngine requires Python 2.7 or newer. Python %d.%d detected" % sys.version_info[:2]) sys.exit(-1) # use setuptools by default as per the official advice at: @@ -177,7 +177,7 @@ def run(self): integration with SymPy and Sage.''' setup(name = "symengine", - version="0.1.0.dev", + version="0.2.0", description = "Python library providing wrappers to SymEngine", setup_requires = ['cython>=0.19.1'], long_description = long_description, @@ -196,7 +196,6 @@ def run(self): 'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering :: Mathematics', 'Topic :: Scientific/Engineering :: Physics', - 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4',