forked from zenbaku/hungarian
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·21 lines (20 loc) · 870 Bytes
/
setup.py
File metadata and controls
executable file
·21 lines (20 loc) · 870 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
def configuration(parent_package='', top_path=None):
from numpy.distutils.misc_util import Configuration
config = Configuration('', parent_package,top_path)
config.add_extension('hungarian', ['asp.cpp', 'asp.h', 'hungarian.cpp'])
return config
if __name__ == "__main__":
from numpy.distutils.core import setup
setup(configuration=configuration,
name='hungarian',
version='0.2.3',
url='http://github.com/hrldcpr/hungarian',
description='algorithm for the linear assignment problem',
long_description=
"""This module is just a simple wrapper for a C++ implementation of Knuth's
Hungarian algorithm, a.k.a. Munkres' algorithm, for the linear assignment
problem.""",
author='Dominic Battre',
maintainer='Harold Cooper',
maintainer_email='hrldcpr@gmail.com'
)