-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
43 lines (40 loc) · 1.46 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
from pybind11.setup_helpers import Pybind11Extension, build_ext
from setuptools import setup
ext_modules = [
Pybind11Extension("mazeLib", [
"src/pybind/bind.cpp",
"src/main.cpp",
"src/image/Image.cpp",
"src/graph/Graph.cpp",
"src/maze/Maze.cpp",
"src/interface/Interface.cpp",
"src/algorithms/Algorithm.cpp",
"src/algorithms/type/KruskalAlgorithm.cpp",
"src/algorithms/type/DepthFirstSearchAlgorithm.cpp",
"src/method/Method.cpp",
"src/method/type/ImageSavingMethod.cpp",
"src/method/type/ImageMemoryMethod.cpp",
"src/method/type/TextFileLoadingMethod.cpp",
"src/method/type/TextFileSavingMethod.cpp",
"src/algorithms/type/BreadthFirstSearchAlgorithm.cpp",
"src/algorithms/type/TremauxsAlgorithm.cpp",
"src/algorithms/type/WallFollowingAlgorithm.cpp",
"src/algorithms/type/DijkstraAlgorithm.cpp",
"src/algorithms/type/LeeAlgorithm.cpp"
]),
]
setup(
name="mazeLib",
version="1.0",
author="Pavel Mikula",
author_email="[email protected]",
description="A python binding for mazeLib",
long_description="",
ext_modules=ext_modules,
extras_require={"dev": ["pytest>=3.7"]},
# Currently, build_ext only provides an optional "highest supported C++
# level" feature, but in the future it may provide more features.
cmdclass={"build_ext": build_ext},
zip_safe=False,
python_requires=">=3.7",
)