Skip to content

Commit

Permalink
Moved version info; added read the docs badge
Browse files Browse the repository at this point in the history
  • Loading branch information
dsblank committed Aug 6, 2017
1 parent 1fb0109 commit 89f8246
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

Built in Python on Keras.

[![CircleCI](https://circleci.com/gh/Calysto/conx/tree/master.svg?style=svg)](https://circleci.com/gh/Calysto/conx/tree/master) [![codecov](https://codecov.io/gh/Calysto/conx/branch/master/graph/badge.svg)](https://codecov.io/gh/Calysto/conx)
[![CircleCI](https://circleci.com/gh/Calysto/conx/tree/master.svg?style=svg)](https://circleci.com/gh/Calysto/conx/tree/master) [![codecov](https://codecov.io/gh/Calysto/conx/branch/master/graph/badge.svg)](https://codecov.io/gh/Calysto/conx) [![Documentation Status](https://readthedocs.org/projects/conx/badge/?version=latest)](http://conx.readthedocs.io/en/latest/?badge=latest)

Read the documentation at [conx.readthedocs.io](http://conx.readthedocs.io/)

Expand Down
2 changes: 1 addition & 1 deletion conx/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA

__version__ = "3.0.1"

from ._version import __version__
from .network import *
from .layers import *

21 changes: 21 additions & 0 deletions conx/_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# conx - a neural network library
#
# Copyright (c) 2016-2017 Douglas S. Blank <dblank@cs.brynmawr.edu>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301 USA

__version__ = "3.0.1"

4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

from setuptools import find_packages, setup

with io.open('conx/__init__.py', encoding='utf-8') as fid:
with io.open('conx/_version.py', encoding='utf-8') as fid:
for line in fid:
if line.startswith('__version__'):
version = line.strip().split()[-1][1:-1]
break

setup(name='conx',
version=version,
description='Neural network library on Keras',
description='Deep Learning for Simple Folk. Built on Keras',
long_description=open('README.md', 'rb').read().decode('utf-8'),
author='Douglas S. Blank',
author_email='doug.blank@gmail.com',
Expand Down

0 comments on commit 89f8246

Please sign in to comment.