forked from rwpenney/spfpm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
29 lines (27 loc) · 1.31 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/python3
# Installation/setup script for Simple Python Fixed-Point Module
# RW Penney, January 2007
from distutils.core import setup
from FixedPoint import SPFPM_VERSION
setup(
author = 'RW Penney',
author_email = 'rwpenney@users.sourceforge.net',
description = 'Tools for arithmetic on fixed-point (binary) numbers',
fullname = 'Simple Python Fixed-Point Module',
keywords = 'arithmetic, fixed-point, trigonometry, arbitrary precision',
license = 'PSF Python License',
long_description = \
'FixedPoint (SPFPM) is a pure-Python module which provides ' + \
'basic facilities for manipulating fixed-point numbers ' + \
'of essentially arbitrary precision. ' + \
'It aims to be more suitable for simulating binary ' + \
'fixed-point artihmetic within electronic hardware ' + \
'(e.g. for digital signal processing (DSP) applications) ' + \
'than the Decimal package, which is more concerned ' + \
'with fixed-point arithmetic in base-10. ' + \
'SPFPM supports basic arithmetic operations as well as a range ' + \
'of mathematical functions including sqrt, exp, sin, cos, atan etc.',
name = 'spfpm',
url = 'http://www.sourceforge.net/projects/pyfixedpoint',
version = SPFPM_VERSION,
py_modules = [ 'FixedPoint' ])