forked from xsuite/xobjects
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
38 lines (34 loc) · 1.23 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 Xobjects Package. #
# Copyright (c) CERN, 2021. #
# ########################################### #
from setuptools import setup
from pathlib import Path
version_file = Path(__file__).parent / "xobjects/_version.py"
dd = {}
with open(version_file.absolute(), "r") as fp:
exec(fp.read(), dd)
__version__ = dd["__version__"]
setup(
name="xobjects",
version=__version__,
description="In-memory serialization and code generator for CPU and GPU",
long_description="In-memory serialization and code generator for CPU and GPU",
author="Riccardo De Maria",
author_email="[email protected]",
url="https://xsuite.readthedocs.io/",
python_requires=">=3.7",
setup_requires=[],
install_requires=["numpy", "cffi", "scipy"],
packages=["xobjects"],
license="Apache 2.0",
download_url="https://pypi.python.org/pypi/xobjects",
project_urls={
"Bug Tracker": "https://github.com/xsuite/xsuite/issues",
"Documentation": "https://xsuite.readthedocs.io/",
"Source Code": "https://github.com/xsuite/xobjects",
},
extras_require={
"tests": ["pytest", "pytest-mock"],
},
)