-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (25 loc) · 773 Bytes
/
setup.py
File metadata and controls
30 lines (25 loc) · 773 Bytes
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
from setuptools import setup
# Available at setup time due to pyproject.toml
from pybind11.setup_helpers import Pybind11Extension, build_ext
__version__ = "1.1.0"
# Note:
# Sort input source files if you glob sources to ensure bit-for-bit
# reproducible builds (https://github.com/pybind/python_example/pull/53)
ext_modules = [Pybind11Extension(
"oxenmq",
["src/oxenmq.cpp"],
cxx_std=20,
libraries=["oxenmq"],
),
]
setup(
name="oxenmq",
version=__version__,
author="Jason Rhinelander",
author_email="jason@oxen.io",
url="https://github.com/oxen-io/oxen-mq",
description="Python wrapper for oxen-mq message passing library",
long_description="",
ext_modules=ext_modules,
zip_safe=False,
)