Skip to content

Commit

Permalink
Fix doc compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhao062 authored and yuezhao@cs.toronto.edu committed Jul 25, 2018
1 parent 1014191 commit 3bea54f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Expand Up @@ -18,8 +18,8 @@

sys.path.insert(0, os.path.abspath('..'))

from pyod.version import __version__
# -- Project information -----------------------------------------------------
exec(open(os.path.join(os.path.sep, 'pyod', 'version.py')).read())

project = 'pyod'
copyright = '2018, Yue Zhao'
Expand Down
2 changes: 1 addition & 1 deletion pyod/version.py
@@ -1 +1 @@
__version__ = '0.5.4'
__version__ = '0.5.5'
3 changes: 1 addition & 2 deletions setup.py
@@ -1,11 +1,10 @@
from setuptools import find_packages, setup
from pyod.version import __version__

# read the contents of README file
from os import path
from io import open # for Python 2 and 3 compatibility

exec(open(path.join(path.sep, 'pyod', 'version.py')).read())

this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
Expand Down

0 comments on commit 3bea54f

Please sign in to comment.