You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Standard options to `setup.py` like `--user`, `--prefix` can be used to configure install location.
59
-
NumPy is used if found by default, if you wish to make your choice of NumPy use explicit: then add e.g. `WITH_NUMPY=False` to `--define`.
59
+
Standard options to `setup.py` like `--user`, `--prefix` can be used to
60
+
configure install location. NumPy is used if found by default, if you wish
61
+
to make your choice of NumPy use explicit: then add
62
+
e.g. `WITH_NUMPY=False` to `--define`.
60
63
61
64
### Notes on Dependencies
62
65
63
-
If you intend to evaluate floating-point expressions (using **lambdify**), you should consider linking against **LLVM**. Many users might also benefit from linking against **FLINT**, as it is now LGPL-licensed.
66
+
If you intend to evaluate floating-point expressions (using **lambdify**),
67
+
you should consider linking against **LLVM**. Many users might also benefit
68
+
from linking against **FLINT**, as it is now LGPL-licensed.
64
69
65
-
In general, **sudo** is only required if you are installing to the default prefix (`/usr/local`). We recommend specifying a custom prefix (`--prefix=$HOME/.local`) to avoid requiring administrative privileges, which most users can do without using **sudo**.
70
+
In general, **sudo** is only required if you are installing to the default
71
+
prefix (`/usr/local`). We recommend specifying a custom prefix
72
+
(`--prefix=$HOME/.local`) to avoid requiring administrative privileges,
73
+
which most users can do without using **sudo**.
66
74
67
-
If you're uncomfortable specifying the prefix manually, we suggest using **Conda** or installing the pre-built wheels via **pip** instead of building from source.
75
+
If you're uncomfortable specifying the prefix manually, we suggest using
76
+
**Conda** or installing the pre-built wheels via **pip** instead of building
77
+
from source.
68
78
69
79
## Verification
70
80
71
-
You can verify the installation of **SymEngine** by using the provided code snippet in this README. This snippet ensures that the installation works as expected and that basic functionality is available.
81
+
You can verify the installation of **SymEngine** by using the provided code
82
+
snippet in this README. This snippet ensures that the installation works as
83
+
expected and that basic functionality is available.
72
84
73
85
```python
74
86
from symengine import var
@@ -82,16 +94,26 @@ This will output:
82
94
x**2+ y**2+ z**2+2*x*y +2*x*z +2*y*z
83
95
```
84
96
85
-
Note: The verification code provided above checks the functionality of SymEngine. For additional verification specific to SymEngine, please refer to the [official SymEngine Python bindings repository](https://github.com/symengine/symengine.py) for further tests and examples.
97
+
Note: The verification code provided above checks the functionality of
98
+
SymEngine. For additional verification specific to SymEngine, please refer to
99
+
the [official SymEngine Python bindings repository](https://github.com/symengine/symengine.py)
100
+
for further tests and examples.
86
101
87
102
## License
88
103
89
-
symengine.py is MIT licensed and uses several LGPL, BSD-3, and MIT licensed libraries.
104
+
symengine.py is MIT licensed and uses several LGPL, BSD-3, and MIT licensed
105
+
libraries.
90
106
91
107
Licenses for the dependencies of pip wheels are as follows:
92
108
93
-
- pip wheels on Unix use **GMP** (LGPL-3.0-or-later), **MPFR** (LGPL-3.0-or-later), **MPC** (LGPL-3.0-or-later), **LLVM** (Apache-2.0), **zlib** (Zlib), **libxml2** (MIT), **zstd** (BSD-3-Clause), and **symengine** (MIT AND BSD-3-Clause).
94
-
- pip wheels on Windows use **MPIR** (LGPL-3.0-or-later) instead of **GMP** above and **pthreads-win32** (LGPL-3.0-or-later) additionally.
95
-
-**NumPy** (BSD-3-Clause) and **SymPy** (BSD-3-Clause) are optional dependencies.
96
-
- Sources for these binary dependencies can be found on [symengine-wheels](https://github.com/symengine/symengine-wheels/releases).
109
+
- pip wheels on Unix use **GMP** (LGPL-3.0-or-later),
0 commit comments