forked from lmfit/asteval
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (29 loc) · 1.24 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
#!/usr/bin/env python
from setuptools import setup
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.
"""
setup(name='asteval',
use_scm_version=True,
setup_requires=['setuptools_scm'],
author='Matthew Newville',
author_email='[email protected]',
url='http://github.com/newville/asteval',
license='OSI Approved :: MIT License',
python_requires='>=3.6',
description="Safe, minimalistic evaluator of python expression using ast module",
long_description=long_description,
packages=['asteval'],
tests_require=['pytest'],
classifiers=['Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Operating System :: OS Independent',
'Programming Language :: Python',
],
)