-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·30 lines (23 loc) · 862 Bytes
/
Copy pathsetup.py
File metadata and controls
executable file
·30 lines (23 loc) · 862 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
#! /usr/bin/env python
from numpy.distutils.core import setup
from numpy.distutils.misc_util import Configuration
def configuration(parent_package='', top_path=None):
config = Configuration(None, parent_package, top_path)
config.set_options(ignore_setup_xxx_py=True,
assume_default_configuration=True,
delegate_options_to_subpackages=True,
quiet=True)
config.add_subpackage("svm")
return config
def setup_package():
setup(
name="svm",
maintainer="Alexander Fabisch",
maintainer_email="afabisch+github@googlemail.com",
description="Support Vector Machine in Python",
license="MIT",
url="https://github.com/AlexanderFabisch/svm",
configuration=configuration,
)
if __name__ == "__main__":
setup_package()