-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
42 lines (37 loc) · 1.12 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
import site
import sys
import warnings
import setuptools
try:
from subtrees.z_quantum_actions.setup_extras import extras
except ImportError:
warnings.warn("Unable to import extras")
extras = {}
# Workaound for https://github.com/pypa/pip/issues/7953
site.ENABLE_USER_SITE = "--user" in sys.argv[1:]
with open("README.md", "r") as f:
long_description = f.read()
setuptools.setup(
name="qe-forest",
use_scm_version=True,
author="Zapata Computing, Inc.",
author_email="[email protected]",
description="Forest backend for Orquestra.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/zapatacomputing/qe-forest ",
packages=setuptools.find_packages(where="src/python"),
package_dir={"": "src/python"},
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
install_requires=[
"z-quantum-core",
"pyquil~=2.25",
],
extras_require=extras,
zip_safe=False,
package_data={"src/python": ["py.typed"]},
include_package_data=True,
)