-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathsetup.py
More file actions
79 lines (73 loc) · 2.85 KB
/
Copy pathsetup.py
File metadata and controls
79 lines (73 loc) · 2.85 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
from pathlib import Path
from setuptools import find_packages, setup
with open("README.md", "r", encoding="utf-8") as f:
long_description = f.read()
long_description = long_description.replace(
"resources/dark-logo.svg",
"https://raw.githubusercontent.com/ColibrITD-SAS/mpqp/main/resources/dark-logo.svg",
).replace(
"resources/mpqp-usage.gif",
"https://raw.githubusercontent.com/ColibrITD-SAS/mpqp/main/resources/mpqp-usage.gif",
)
with open("requirements.txt", "r") as f:
requirements = f.readlines()
providers_dir = Path("requirements_providers")
extras = {}
all_extras = []
for f in providers_dir.glob("*.txt"):
provider_name = f.stem
with open(f, "r", encoding="utf-8") as fh:
extra = [line.strip() for line in fh if line.strip()]
extras[provider_name] = extra
all_extras.extend(extra)
extras["all"] = sorted(set(all_extras))
setup(
name="mpqp",
use_scm_version=True,
setup_requires=["setuptools_scm", "vcs_versioning"],
description="Facilitate quantum algorithm development and execution, regardless of the hardware, with MPQP",
long_description=long_description,
long_description_content_type="text/markdown",
license="GPL-3.0-or-later",
author="ColibriTD",
author_email="quantum@colibritd.com",
keywords=[
"mpqp",
"quantum programming language",
"sdk",
],
url="https://colibritd.com",
python_requires=">=3.10,<3.14",
install_requires=["wheel"] + requirements,
extras_require=extras,
packages=find_packages(include=["mpqp*"]),
entry_points={
"console_scripts": [
"setup_connections = mpqp_scripts.setup_connections:main_setup",
"update_qiskit = mpqp_scripts.update_qiskit:update_packages",
]
},
project_urls={
"Repository": "https://github.com/ColibrITD-SAS/mpqp",
"Documentation": "https://mpqpdoc.colibri-quantum.com/",
"License": "https://github.com/ColibrITD-SAS/mpqp/blob/main/LICENSE",
"Company": "https://colibritd.com",
"Issues": "https://github.com/ColibrITD-SAS/mpqp/issues",
"Changelog": "https://mpqpdoc.colibri-quantum.com/changelog",
},
classifiers=[
"Topic :: Scientific/Engineering :: Quantum Computing",
"Topic :: Software Development :: Libraries :: Python Modules",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Operating System :: MacOS",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
],
package_data={"mpqp.qasm.header_codes": ["*.qasm", "*.inc"]},
)