-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
38 lines (36 loc) · 1.12 KB
/
setup.py
File metadata and controls
38 lines (36 loc) · 1.12 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
from setuptools import setup, find_packages
from pybind11.setup_helpers import Pybind11Extension, build_ext
import os
ext_modules = [
Pybind11Extension(
"spex_tequila",
["spex.cpp"],
cxx_std=17,
include_dirs=[os.path.abspath("include")]
),
]
setup(
name="spex-tequila",
version="1.0.0",
author="Michael Lang",
author_email="[email protected]",
url="https://git.rz.uni-augsburg.de/qalg-a/spex",
description="Expectation value computation module on sparse Pauli states for Tequila, implemented in C++ using Pybind11",
long_description=open("README.md", encoding="utf-8").read(),
long_description_content_type="text/markdown",
ext_modules=ext_modules,
cmdclass={"build_ext": build_ext},
zip_safe=False,
python_requires=">=3.9",
install_requires=[
"pybind11>=2.5.0",
],
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: C++",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
],
packages=find_packages(),
include_package_data=True,
)