• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

doc/H03-May-2022-

src/H03-May-2022-12,61310,620

test/H03-May-2022-2,9102,718

test3/H03-May-2022-3,1102,910

PKG-INFOH A D27-Jul-2013961 2423

READMEH A D27-Jul-20131.4 KiB3422

setes.pyH A D27-Jul-2013750 2317

setup.pyH A D03-May-20222.3 KiB6953

README

1General MultiPrecision arithmetic for Python -- i.e., Python 2.4+ and 3.0+
2interface module for library GMP 4 -- release 1.10 (July 2009).
3
4Note: There is a bug in GMP 4.2.3 that causes a segmentation fault when
5running gmpy_test.py. There are patches available at the GMP website or use
6GMP 4.2.4.
7
8The gmpy project has moved (since quite a while ago!-) to Google Code:
9    http://code.google.com/p/gmpy/
10Please check that site for better-updated sources, docs, etc.
11
12Detailed documentation is in subdirectory doc.
13
14To install gmpy 1.10 from sources (you need to have Python 2.4 or better, and
15GMP 4 or MPIR, previously installed): at a shell prompt, python setup.py install
16
17Beginning with gmpy 1.10, MPIR is supported as an alternative library to GMP.
18To install gmpy 1.10 with MPIR support, use the following command:
19python setup.py build_ext -DMPIR install
20
21Note that, on Windows, you may use the distributed binary release, rather
22than having to rebuild from source. To build GMP and GMPY from source, see the
23file "windows_build.txt".
24
25Binary installations are also available for MacOSX (and for many Linux
26distributions, but those are not distributed by the gmpy project).
27
28To test your installation: cd test, then python gmpy_test.py
29
30For any support request, mail Alex Martelli, aleaxit@gmail.com (or, better, use
31the issues and wiki entries of the Google Code URL previously given).
32
33
34