-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (27 loc) · 925 Bytes
/
setup.py
File metadata and controls
33 lines (27 loc) · 925 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
31
32
33
import setuptools
from setuptools import setup
from pybind11.setup_helpers import Pybind11Extension, build_ext
__version__ = "0.0.1"
cpp_args = ['-std=c++11', "-O3"]
ext_modules = [
Pybind11Extension("_dfs_codes",
["cpp/graph_fast.cpp", "cpp/binding.cpp", "cpp/common.cpp"],# liz
#["cpp/graph.cpp", "cpp/binding.cpp"],
define_macros = [('VERSION_INFO', __version__)],
extra_compile_args= cpp_args,
extra_link_args= cpp_args)
]
setup(
name="dfscode-wszola-wendler",
version=__version__,
author="Eliza Wszola & Chris Wendler",
author_email="chris.wendler@inf.ethz.ch",
description="Toolkit for the computation of (minimal) DFS codes.",
long_description="",
ext_modules=ext_modules,
cmdclass={"build_ext": build_ext},
zip_safe=False,
install_requires=['pybind11'],
packages=setuptools.find_packages(where = 'src'),
package_dir = {"":"src"}
)