-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathsetup.py
More file actions
57 lines (52 loc) · 1.79 KB
/
setup.py
File metadata and controls
57 lines (52 loc) · 1.79 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
50
51
52
53
54
55
56
57
from pathlib import Path
from setuptools import find_packages, setup
# 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:
extra_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",
"scipy",
"pymoo",
"neffint",
"tqdm",
],
extras_require={
"all": extra_required,
},
tests_require=["pytest", "pytest-cov"],
)