forked from kimaranaicker/pytket-pennylane
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
50 lines (47 loc) · 1.6 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
import shutil
import os
from setuptools import setup, find_namespace_packages # type: ignore
metadata: dict = {}
with open("_metadata.py") as fp:
exec(fp.read(), metadata)
shutil.copy(
"_metadata.py",
os.path.join("pytket", "extensions", "pennylane", "_metadata.py"),
)
devices_list = [
"pytket.pytketdevice=pytket.extensions.pennylane:PytketDevice",
]
setup(
name=metadata["__extension_name__"],
version=metadata["__extension_version__"],
author="KN",
author_email="seyon.sivarajah@cambridgequantum.com",
python_requires=">=3.7",
url="https://github.com/kimaranaicker/pytket-pennylane",
description="Pytket extension and Pennylane plugin.",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
license="Apache 2",
packages=find_namespace_packages(include=["pytket.*"]),
include_package_data=True,
install_requires=[
"pytket ~= 0.10.1",
"pennylane ~= 0.15.0",
"pytket-qiskit ~= 0.10.0",
],
classifiers=[
"Environment :: Console",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"License :: Other/Proprietary License",
"Operating System :: MacOS :: MacOS X",
"Operating System :: POSIX :: Linux",
"Operating System :: Microsoft :: Windows",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
],
zip_safe=False,
entry_points={"pennylane.plugins": devices_list},
)