We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cce0378 commit 85b7650Copy full SHA for 85b7650
numpy_fracdiff/__init__.py
@@ -1 +1,3 @@
1
+__version__ = '0.3.2'
2
+
3
from .fracdiff_fn import fracdiff
setup.py
@@ -2,8 +2,18 @@
import pypandoc
4
5
+def get_version(path):
6
+ with open(path, "r") as fp:
7
+ lines = fp.read()
8
+ for line in lines.split("\n"):
9
+ if line.startswith('__version__'):
10
+ delim = '"' if '"' in line else "'"
11
+ return line.split(delim)[1]
12
+ raise RuntimeError("Unable to find version string.")
13
14
15
setup(name='numpy-fracdiff',
- version='0.3.1',
16
+ version=get_version("numpy_fracdiff/__init__.py"),
17
description='Fractional Difference for Time Series',
18
long_description=pypandoc.convert('README.md', 'rst'),
19
url='http://github.com/ulf1/numpy-fracdiff',
0 commit comments