-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
58 lines (55 loc) · 2.97 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
"""
setup.py file for LPmade netlib
"""
from distutils.core import setup, Extension
net_lib_module = Extension('_LPmade',
sources=['LPmade.i',
"netlib/WeightedNetwork.cpp",
"netlib/Statistics.cpp",
"netlib/AlgorithmManager.cpp",
"netlib/LinkPredictorEnsemble.cpp",
"netlib/LinkPredictor/LinkPredictor.cpp",
"netlib/RecommenderResult.cpp",
"netlib/LinkPredictor/WTFLinkPredictor.cpp",
"netlib/LinkPredictor/AdamicAdarLinkPredictor.cpp",
"netlib/LinkPredictor/RootedPageRankLinkPredictor.cpp",
"netlib/LinkPredictor/KatzLinkPredictor.cpp",
"netlib/LinkPredictor/CommonNeighborLinkPredictor.cpp",
"netlib/LinkPredictor/DistanceLinkPredictor.cpp",
"netlib/LinkPredictor/OneLinkPredictor.cpp",
"netlib/LinkPredictor/PropFlowLinkPredictor.cpp",
"netlib/LinkPredictor/JaccardCoefficientLinkPredictor.cpp",
"netlib/LinkPredictor/PreferentialAttachmentLinkPredictor.cpp",
"netlib/LinkPredictor/InDegreeLinkPredictor.cpp",
"netlib/LinkPredictor/OutDegreeLinkPredictor.cpp",
"netlib/LinkPredictor/JVolumeLinkPredictor.cpp",
"netlib/LinkPredictor/ShortestPathCountLinkPredictor.cpp",
"netlib/LinkPredictor/ClusteringCoefficientLinkPredictor.cpp",
"netlib/LinkPredictor/SimRankLinkPredictor.cpp",
"netlib/LinkPredictor/TriangleLinkPredictor.cpp",
"netlib/LinkPredictor/MRLPLinkPredictor.cpp",
"netlib/LinkPredictor/UnweightedPropFlowLinkPredictor.cpp",
"netlib/LinkPredictor/IDegreeLinkPredictor.cpp",
"netlib/LinkPredictor/MutualityLinkPredictor.cpp",
"netlib/LinkPredictor/VCP3DirectedLinkPredictor.cpp",
"netlib/LinkPredictor/IPageRankLinkPredictor.cpp",
"netlib/LinkPredictor/VCP3UndirectedLinkPredictor.cpp",
"netlib/LinkPredictor/IVolumeLinkPredictor.cpp",
"netlib/LinkPredictor/PathCountLinkPredictor.cpp",
"netlib/LinkPredictor/VCP4DirectedLinkPredictor.cpp",
"netlib/LinkPredictor/VCP4UndirectedLinkPredictor.cpp",
"netlib/LinkPredictor/JDegreeLinkPredictor.cpp",
"netlib/LinkPredictor/WeightedRootedPageRankLinkPredictor.cpp",
"netlib/LinkPredictor/JPageRankLinkPredictor.cpp",
"netlib/LinkPredictor/WeightedTriangleLinkPredictor.cpp",
],
swig_opts=['-c++'],
extra_compile_args=["-std=c++0x"]
)
setup (name = ' LPmade',
version = '0.1',
author = "James Treanor",
description = """LPmade wrapper""",
ext_modules = [net_lib_module],
py_modules = ["LPmade"],
)