File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
- """
1
+ """
2
2
``imbalanced-learn`` is a set of python methods to deal with imbalanced
3
3
datset in machine learning and pattern recognition.
4
4
"""
21
21
# Dev branch marker is: 'X.Y.dev' or 'X.Y.devN' where N is an integer.
22
22
# 'X.Y.dev0' is the canonical version of 'X.Y.dev'
23
23
#
24
+
24
25
__version__ = '0.4.0.dev0'
Original file line number Diff line number Diff line change 3
3
4
4
import codecs
5
5
import os
6
- import sys
7
6
8
7
from setuptools import find_packages , setup
9
- from imblearn import __version__
10
8
9
+ # get __version__ from _version.py
10
+ ver_file = os .path .join ('imblearn' , '_version.py' )
11
+ with open (ver_file ) as f :
12
+ exec (f .read ())
11
13
12
14
DISTNAME = 'imbalanced-learn'
13
15
DESCRIPTION = 'Toolbox for imbalanced dataset in machine learning.'
You can’t perform that action at this time.
0 commit comments