2020-10-13 16:53:00 +02:00
|
|
|
from setuptools import setup, find_packages
|
2022-05-18 12:15:28 +01:00
|
|
|
from pathlib import Path
|
2022-06-14 11:59:46 +01:00
|
|
|
from distutils.util import convert_path
|
|
|
|
|
2022-05-18 12:15:28 +01:00
|
|
|
this_directory = Path(__file__).parent
|
|
|
|
long_description = (this_directory / "README.md").read_text()
|
2020-10-13 16:53:00 +02:00
|
|
|
|
2022-06-14 11:59:46 +01:00
|
|
|
version = {}
|
|
|
|
with open(convert_path('pyerrors/version.py')) as ver_file:
|
|
|
|
exec(ver_file.read(), version)
|
|
|
|
|
2020-10-13 16:53:00 +02:00
|
|
|
setup(name='pyerrors',
|
2022-06-14 11:59:46 +01:00
|
|
|
version=version['__version__'],
|
2022-10-21 10:42:02 +01:00
|
|
|
description='Error propagation and statistical analysis for Monte Carlo simulations',
|
2022-05-18 12:15:28 +01:00
|
|
|
long_description=long_description,
|
|
|
|
long_description_content_type='text/markdown',
|
2022-05-19 10:36:22 +01:00
|
|
|
url="https://github.com/fjosw/pyerrors",
|
2022-05-31 12:27:31 +01:00
|
|
|
project_urls= {
|
|
|
|
'Documentation': 'https://fjosw.github.io/pyerrors/pyerrors.html',
|
2022-06-10 10:30:00 +01:00
|
|
|
'Bug Tracker': 'https://github.com/fjosw/pyerrors/issues',
|
|
|
|
'Changelog' : 'https://github.com/fjosw/pyerrors/blob/master/CHANGELOG.md'
|
2022-05-31 12:27:31 +01:00
|
|
|
},
|
2020-10-13 16:53:00 +02:00
|
|
|
author='Fabian Joswig',
|
2021-10-11 14:27:48 +01:00
|
|
|
author_email='fabian.joswig@ed.ac.uk',
|
2022-05-19 10:36:22 +01:00
|
|
|
license="MIT",
|
2020-10-13 16:53:00 +02:00
|
|
|
packages=find_packages(),
|
2022-10-19 12:57:44 +01:00
|
|
|
python_requires='>=3.7.0',
|
2023-01-23 10:42:26 +00:00
|
|
|
install_requires=['numpy>=1.19', 'autograd>=1.5', 'numdifftools>=0.9.41', 'matplotlib>=3.5', 'scipy>=1.7', 'iminuit>=2.17', 'h5py>=3.8', 'lxml>=4.9', 'python-rapidjson>=1.9', 'pandas>=1.1'],
|
2023-01-20 11:44:31 +00:00
|
|
|
extras_require={'test': ['pytest', 'pytest-cov', 'pytest-benchmark', 'hypothesis']},
|
2022-05-19 10:36:22 +01:00
|
|
|
classifiers=[
|
|
|
|
'Development Status :: 5 - Production/Stable',
|
|
|
|
'Intended Audience :: Science/Research',
|
|
|
|
'License :: OSI Approved :: MIT License',
|
|
|
|
'Programming Language :: Python :: 3',
|
|
|
|
'Programming Language :: Python :: 3.7',
|
|
|
|
'Programming Language :: Python :: 3.8',
|
|
|
|
'Programming Language :: Python :: 3.9',
|
|
|
|
'Programming Language :: Python :: 3.10',
|
2022-10-10 11:06:24 +01:00
|
|
|
'Programming Language :: Python :: 3.11',
|
2022-06-10 08:56:41 +01:00
|
|
|
'Topic :: Scientific/Engineering :: Physics'
|
2022-05-19 10:36:22 +01:00
|
|
|
],
|
2020-10-13 16:53:00 +02:00
|
|
|
)
|