File: setes.py

package info (click to toggle)
python-gmpy 1.11-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 752 kB
  • ctags: 756
  • sloc: ansic: 10,001; python: 5,514; makefile: 36
file content (20 lines) | stat: -rw-r--r-- 666 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import sys
from distutils.core import setup, Extension

if sys.version.find('MSC')==-1:
    gmpy_ext = Extension('pysymbolicext', sources=['src/pysymbolicext.c'],
        libraries=['gmp'])
else:
    gmpy_ext = Extension('pysymbolicext', sources=['src/pysymbolicext.c'],
        libraries=['gmp'],include_dirs=['./src'])

setup (name = "pysymbolicext",
       version = "0.2",
       description = "PySymbolic Python/GMP extensions (Pollard's rho)",
       author = "Pearu Peterson",
       maintainer = "Alex Martelli",
       maintainer_email = "aleaxit@gmail.com",
       url = "http://code.google.com/p/gmpy/source/",
       
       ext_modules = [ gmpy_ext ]
)