Skip to content

Commit 99e06e7

Browse files
committed
Fix bug run setup.py in conda
1 parent b800987 commit 99e06e7

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

hbbrain/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
# Dev branch marker is: 'X.Y.dev' or 'X.Y.devN' where N is an integer.
4343
# 'X.Y.dev0' is the canonical version of 'X.Y.dev'
4444
#
45-
__version__ = "0.1.3"
45+
__version__ = "0.1.4"
4646

4747

4848
# On OSX, we can get a runtime error due to multiple OpenMP libraries loaded

setup.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,13 @@
3232

3333

3434
DISTNAME = "hyperbox-brain"
35-
DESCRIPTION = "A set of python modules for hyperbox-based machine learning algorithms"
36-
with open("README.rst", encoding="utf-8") as f:
37-
LONG_DESCRIPTION = f.read()
35+
DESCRIPTION = "A scikit-learn compatible hyperbox-based machine learning library in Python"
36+
37+
here = os.path.abspath(os.path.dirname(__file__))
38+
try:
39+
LONG_DESCRIPTION = open(os.path.join(here, 'README.rst'), encoding="utf-8").read()
40+
except IOError:
41+
LONG_DESCRIPTION = ''
3842

3943
MAINTAINER = "Thanh Tung KHUAT"
4044
MAINTAINER_EMAIL = "thanhtung09t2@gmail.com"

0 commit comments

Comments
 (0)