forked from lmfit/asteval
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
37 lines (33 loc) · 1.34 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
30
31
32
33
34
35
36
37
#!/usr/bin/env python
from setuptools import setup
import versioneer
long_description = """ASTEVAL provides a numpy-aware, safe(ish) 'eval' function
Emphasis is on mathematical expressions, and so numpy ufuncs
are used if available. Symbols are held in the Interpreter
symbol table 'symtable': a simple dictionary supporting a
simple, flat namespace.
Expressions can be compiled into ast node for later evaluation,
using the values in the symbol table current at evaluation time.
"""
install_reqs = []
test_reqs = ['pytest']
setup(name='asteval',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author='Matthew Newville',
author_email='[email protected]',
url='http://github.com/newville/asteval',
license = 'OSI Approved :: MIT License',
python_requires='>=3.5',
description="Safe, minimalistic evaluator of python expression using ast module",
long_description=long_description,
packages=['asteval'],
install_requires=install_reqs,
tests_require=test_reqs,
classifiers=['Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
)