-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
69 lines (65 loc) · 2.82 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
import os.path as op
from setuptools import find_packages, setup
# get the version (don't import mne here, so dependencies are not needed)
version = None
with open(op.join('pyriemann_qiskit', '_version.py'), 'r') as fid:
for line in (line.strip() for line in fid):
if line.startswith('__version__'):
version = line.split('=')[1].strip().strip('\'')
break
if version is None:
raise RuntimeError('Could not determine version')
with open('README.md', 'r', encoding="utf8") as fid:
long_description = fid.read()
setup(name='pyriemann-qiskit',
version=version,
description='Qiskit wrapper for pyRiemann',
url='https://pyriemann-qiskit.readthedocs.io',
author='Gregoire Cattan',
author_email='gcattan@hotmail.com',
license='BSD (3-clause)',
packages=find_packages(),
long_description=long_description,
long_description_content_type='text/markdown',
project_urls={
'Documentation': 'https://pyriemann-qiskit.readthedocs.io/',
'Source': 'https://github.com/pyRiemann/pyRiemann-qiskit',
'Tracker': 'https://github.com/pyRiemann/pyRiemann-qiskit/issues/',
},
platforms='any',
python_requires=">=3.9",
install_requires=[
'numpy<2.2',
'cython',
'pyriemann==0.6',
'qiskit==1.*',
'qiskit_algorithms==0.3.1',
'qiskit_machine_learning==0.7.2',
'qiskit_ibm_runtime==0.34.0',
'qiskit-optimization==0.6.1',
'qiskit-aer==0.15.1',
'cvxpy==1.6.0',
'scipy==1.13.1',
'docplex==2.28.240',
'firebase_admin==6.6.0',
'scikit-learn==1.5.2',
'tqdm',
'pandas',
],
extras_require={'docs': [
'sphinx-gallery',
'sphinx-bootstrap_theme',
'numpydoc',
'mne==1.8.0',
'mne-bids==0.14',
'seaborn>=0.12.1',
'moabb==1.1.1',
'imbalanced-learn==0.12.4'
],
'tests': ['pytest', 'seaborn', 'flake8', 'mne', 'pooch'],
# GPU optimization not available on all platform.
# See https://github.com/Qiskit/qiskit-aer/issues/929#issuecomment-691716936
'optim': ['qiskit-symb==0.2.0', 'symengine==0.11.0'],
'optim_linux': ['qiskit-aer-gpu==0.15.1']},
zip_safe=False,
)