Skip to content

Commit 30f8f4d

Browse files
committed
[add] Add files for Python packaging
1 parent 2a62872 commit 30f8f4d

File tree

5 files changed

+17
-0
lines changed

5 files changed

+17
-0
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/.idea

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# multi_svr - Multiple-targets Support Vector Regression

setup.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# (from: https://github.com/masaponto/Python-MLP/blob/master/setup.py)
2+
from distutils.core import setup
3+
4+
setup(
5+
name='multi_svr',
6+
version='0.1.0-SNAPSHOT',
7+
description='Multiple-targets Support Vector Regression',
8+
author='Ryo Ota',
9+
author_email='[email protected]',
10+
install_requires=['scikit-learn', 'numpy'],
11+
py_modules=["multi_svr"],
12+
package_dir={'': 'src'}
13+
)

src/__init__.py

Whitespace-only changes.

src/multi_svr.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
def hello():
2+
return "hello, world from multi_svr"

0 commit comments

Comments
 (0)