Skip to content

Commit

Permalink
Restructuring, standardizing version number references
Browse files Browse the repository at this point in the history
  • Loading branch information
bjherger committed May 28, 2018
1 parent 836cc2b commit 1d82bf3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@
#
import os
import sys

import keras_pandas

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

import setup

# -- General configuration ------------------------------------------------

# If your documentation needs a minimal Sphinx version, state it here.
Expand Down Expand Up @@ -58,9 +59,9 @@
# built documents.
#
# The short X.Y version.
version = '1.1.3'
version = keras_pandas.__version__
# The full version, including alpha/beta/rc tags.
release = '1.1.3'
release = keras_pandas.__version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
1 change: 1 addition & 0 deletions keras_pandas/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '1.1.3'
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

from setuptools import setup, find_packages

# Version number
version = '1.1.3'
import keras_pandas

# Add README as long description
with open("README.md", "r") as fh:
Expand All @@ -18,7 +17,7 @@
description='Easy and rapid deep learning',
long_description=long_description,
long_description_content_type="text/markdown",
version='1.1.3',
version=keras_pandas.__version__,
url='https://github.com/bjherger/keras-pandas',
author='Brendan Herger',
author_email='13herger@gmail.com',
Expand Down

0 comments on commit 1d82bf3

Please sign in to comment.