-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
51 lines (47 loc) · 1.53 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/usr/bin/env python
from setuptools import setup
packages = ["cxroots", "cxroots.tests", "cxroots.contours"]
# get the version, this will assign __version__
with open("cxroots/version.py") as f:
exec(f.read()) # nosec
# read the README_pip.rst
try:
with open("README.rst") as file:
long_description = file.read()
except OSError:
long_description = None
setup(
name="cxroots",
version=__version__, # noqa
description="Find all the roots (zeros) of a complex analytic function within a "
"given contour in the complex plane.",
long_description=long_description,
author="Robert Parini",
url="https://rparini.github.io/cxroots/",
license="BSD-3-Clause",
data_files=[("", ["LICENSE"])],
packages=packages,
package_data={"cxroots": ["py.typed"]},
zip_safe=False, # prevent cxroots from installing as a .egg zip file
platforms=["all"],
python_requires=">=3.10",
setup_requires=["pytest-runner"],
install_requires=[
"numpy",
"scipy",
"numpydoc",
"mpmath",
"rich",
],
tests_require=["pytest"],
extras_require={"plot": ["matplotlib"]},
keywords="roots zeros complex analytic functions",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Mathematics",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3 :: Only",
],
)