Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

Commit

Permalink
Refactor version string
Browse files Browse the repository at this point in the history
Fixes #163
  • Loading branch information
constantinpape committed Jan 23, 2019
1 parent 955d462 commit b0ed9bd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion inferno/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
from . import io
from . import trainers
from . import utils
from .version import __version__


__all__ = ['extensions', 'io', 'trainers', 'utils']

__author__ = """Nasim Rahaman"""
__email__ = 'nasim.rahaman@iwr.uni-heidelberg.de'
__version__ = '0.3.1'
1 change: 1 addition & 0 deletions inferno/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
__version__ = '0.3.1'
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"""The setup script."""

from setuptools import setup, find_packages
from inferno import __version__

with open('README.rst') as readme_file:
readme = readme_file.read()
Expand Down Expand Up @@ -38,7 +39,7 @@

setup(
name='inferno-pytorch',
version='0.3.1',
version=__version__,
description="Inferno is a little library providing utilities and convenience functions/classes around PyTorch.",
long_description=readme + '\n\n' + history,
author="Nasim Rahaman",
Expand Down

0 comments on commit b0ed9bd

Please sign in to comment.