-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (34 loc) · 1.17 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
# copyright ################################## #
# This file is part of the Xheadtail Package. #
# Copyright (c) CERN, 2021. #
# ############################################ #
from setuptools import setup
from pathlib import Path
version_file = Path(__file__).parent / "xheadtail/_version.py"
dd = {}
with open(version_file.absolute(), "r") as fp:
exec(fp.read(), dd)
__version__ = dd["__version__"]
setup(
name="xheadtail",
version=__version__,
description="Collective effects for particle accelerators",
long_description="Collective effects for particle accelerators",
author="Lotta Mether",
author_email="[email protected]",
url="https://xsuite.readthedocs.io/",
python_requires=">=3.7",
setup_requires=[],
install_requires=["numpy", "cffi"],
packages=["xheadtail"],
license="Apache 2.0",
download_url="https://pypi.python.org/pypi/xheadtail",
project_urls={
"Bug Tracker": "https://github.com/xsuite/xsuite/issues",
"Documentation": "https://xsuite.readthedocs.io/",
"Source Code": "https://github.com/xsuite/xheadtail",
},
extras_require={
"tests": ["pytest"],
},
)