-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathsetup.py
More file actions
63 lines (58 loc) · 2.09 KB
/
setup.py
File metadata and controls
63 lines (58 loc) · 2.09 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
58
59
60
61
62
63
# copyright ################################# #
# This file is part of the wakis Package. #
# Copyright (c) CERN, 2024. #
# ########################################### #
from pathlib import Path
from setuptools import find_packages, setup
# read version
version_file = Path(__file__).parent / "wakis/_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(encoding="utf-8")
setup(
name="wakis",
version=__version__,
description="3D Electromagnetic Time-Domain wake and impedance solver",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://wakis.readthedocs.io/",
author="Elena de la Fuente et al.",
author_email="elena.de.la.fuente.garcia@cern.ch",
license="Apache 2.0",
download_url="https://pypi.python.org/pypi/wakis",
project_urls={
"Bug Tracker": "https://github.com/ImpedanCEI/wakis/issues",
"Documentation": "https://wakis.readthedocs.io/en/latest/index.html",
"Source Code": "https://github.com/ImpedanCEI/wakis/wakis",
},
packages=find_packages(),
include_package_data=True,
classifiers=[
"Development Status :: 4 - Beta",
"Programming Language :: Python",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Physics",
],
install_requires=[
"numpy",
"scipy",
"pyvista",
"h5py",
"tqdm",
],
extras_require={
"gpu": ["cupy"],
"all": ["pyvista[jupyter]", "jupyterlab", "ipympl", "bihc", "iddefix"],
},
tests_require=["pytest", "pytest-cov"],
)