-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
35 lines (31 loc) · 960 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
30
31
32
33
34
35
import os
from glob import glob
import pybind11
from setuptools import Extension, find_packages, setup
ext_modules = [
Extension(
'_walker',
sorted(glob("src/*.cpp")),
language='c++',
include_dirs=[
pybind11.get_include(),
pybind11.get_include(True), ],
extra_compile_args=["-Ofast", "-std=c++11"])
]
setup(
name="graph-walker",
version="1.0.6",
author="Maixent Chenebaux",
author_email="[email protected]",
description="Fastest library for random walks on graph",
url="https://github.com/kerighan/graph-walker",
packages=find_packages(),
include_package_data=True,
install_requires=["networkx", "numpy",
"scipy", "pybind11", "scikit-learn"],
classifiers=[
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
ext_modules=ext_modules
)