forked from ComPWA/pycompwa
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
39 lines (34 loc) · 1.2 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
39
#!/usr/bin/env python
import sys
from setuptools import find_packages
try:
from skbuild import setup
except ImportError:
print('scikit-build is required to build from source.', file=sys.stderr)
print('Please run:', file=sys.stderr)
print('', file=sys.stderr)
print(' python -m pip install scikit-build')
sys.exit(1)
def readme():
with open('README.rst') as f:
return f.read()
setup(name='pycompwa',
version='0.1.00',
author='The ComPWA team',
maintainer="Peter Weidenkaff",
maintainer_email="[email protected]",
url="https://github.com/ComPWA/pycompwa",
description='ComPWA: The common Partial Wave Analysis framework',
long_description=readme(),
license="GPLv3 or later",
# cmake_args=['-DSOME_FEATURE:BOOL=OFF'],
cmake_minimum_required_version="3.4",
packages=find_packages(),
data_files=[('pycompwa/', ['./ComPWA/Physics/particle_list.xml'])],
zip_safe=False,
setup_requires=['cmake'],
tests_require=['pytest'],
install_requires=['wheel', 'numpy>=1.14.5', 'progress>1.3',
'xmltodict>=0.11.0', 'matplotlib>=2.2.2',
'uproot'],
)