Skip to content

Commit

Permalink
Put version in setup.cfg.
Browse files Browse the repository at this point in the history
  • Loading branch information
arkottke committed Apr 19, 2017
1 parent 88b73bc commit 5c2e734
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion pyrotd.py
Expand Up @@ -4,11 +4,13 @@

import numpy as np

from pkg_resources import get_distribution

__author__ = 'Albert Kottke'
__copyright__ = 'Copyright 2016 Albert Kottke'
__license__ = 'MIT'
__title__ = 'pyrotd'
__version__ = '0.4.1'
__version__ = get_distribution('pyrotd').version

ArrayLike = typing.Union[typing.List[float], np.ndarray]

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Expand Up @@ -5,7 +5,7 @@ release = clean --all sdist bdist_wheel build_sphinx upload upload_docs
[metadata]
name = pyrotd
license = MIT
version = attr: pyrotd.__version__
version = 0.4.2
description = Rotated response spectrum calculation implemented in Python.
long_description = file: README.rst
url = http://github.com/arkottke/pyrotd
Expand Down

0 comments on commit 5c2e734

Please sign in to comment.