Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
21 changes: 16 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down
7 changes: 3 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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,
Expand All @@ -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',
Expand Down