-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
49 lines (45 loc) · 1.66 KB
/
setup.py
File metadata and controls
49 lines (45 loc) · 1.66 KB
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
from setuptools import setup, find_packages
from pathlib import Path
# read version
version_file = Path(__file__).parent / 'iddefix/_version.py'
dd = {}
with open(version_file.absolute(), 'r') as fp:
exec(fp.read(), dd)
__version__ = dd['__version__']
# read long_description
long_description = (Path(__file__).parent / "README.md").read_text()
# read requirements.txt for extras_require
with open('requirements.txt') as f:
notebook_required = f.read().splitlines()
setup(
name='iddefix',
version=__version__,
description="Genetic Algorithm Resonator Fitting for Impedance ExtrapoLation and Determination",
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/ImpedanCEI/IDDEFIX',
author='Sebastien Joly',
author_email="sebastien.joly@helmholtz-berlin.de",
maintainer='Elena de la Fuente',
maintainer_email="elena.de.la.fuente.garcia@cern.ch",
license='GNU GENERAL PUBLIC LICENSE',
download_url="https://pypi.python.org/pypi/iddefix",
project_urls={
"Bug Tracker": "https://github.com/ImpedanCEI/IDDEFIX/issues",
"Documentation": "https://iddefix.readthedocs.io/en/latest/.html",
"Source Code": "https://github.com/ImpedanCEI/IDDEFIX/",
},
packages=find_packages(),
include_package_data=True,
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Physics",
],
install_requires=[
'numpy<2.0',
'scipy',
],
)