-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
29 lines (23 loc) · 897 Bytes
/
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
from glob import glob
from setuptools import setup
from pybind11.setup_helpers import Pybind11Extension, build_ext
# cpp_args = ['-std=c++11']
__version__ = "0.0.1rc0"
ext_modules = [
Pybind11Extension(
"reproducible_random", ["reproducible_random.cpp"]),
]
print(ext_modules)
setup(
name="reproducible_random",
version=__version__,
author="Antoine CARME",
author_email="antoine.carme@outlook.com",
url="https://github.com/antoinecarme/reproducible_random",
description="A reproducible random number generator module using pybind11",
long_description="A python random number generator that can be reproduced across hardware and software platforms. Based on the C++ standard random number generator (std::mt19937) . Source only. ",
ext_modules=ext_modules,
cmdclass={"build_ext": build_ext},
zip_safe=False,
python_requires=">=3.11",
)