-
Notifications
You must be signed in to change notification settings - Fork 60
/
setup.py
38 lines (33 loc) · 1.33 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
from setuptools import setup, find_namespace_packages
import os
current_path = os.getcwd()
with open("README.md", "r") as fh:
long_description = fh.read()
# Dev package will share versions with the core in it.
with open("_version.py") as f:
version = f.readlines()[-1].split()[-1].strip("\"'")
requirements = [
f"{each_folder_name}=={version}"
for each_folder_name in os.listdir("src")
if ("openqaoa-" in each_folder_name and "openqaoa-pyquil" not in each_folder_name)
]
setup(
name="openqaoa",
python_requires=">=3.8, <3.11",
version=version,
author="Entropica Labs",
entry_points={"openqaoa.plugins": []},
url="https://github.com/entropicalabs/openqaoa",
install_requires=requirements,
license="MIT",
description="OpenQAOA is a python open-source multi-backend Software Development Kit to create, customise and execute the Quantum Approximate Optimisation Algorithm (QAOA) on Noisy Intermediate-Scale Quantum (NISQ) devices, and simulators",
long_description=long_description,
long_description_content_type="text/markdown",
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Operating System :: OS Independent",
],
keywords="quantum optimisation SDK",
)