Skip to content

Commit 69d5b0c

Browse files
lllllllllltwiecki
llllllllll
authored andcommitted
BLD: Adds versioneer
1 parent 6e80e53 commit 69d5b0c

File tree

7 files changed

+2197
-17
lines changed

7 files changed

+2197
-17
lines changed

.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pyfolio/_version.py export-subst

MANIFEST.in

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
include versioneer.py
2+
include pyfolio/_version.py

pyfolio/__init__.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
from .tears import * # noqa
99
from .plotting import * # noqa
10+
from ._version import get_versions
1011

1112
try:
1213
from . import bayesian
@@ -15,5 +16,8 @@
1516
"Could not import bayesian submodule due to missing pymc3 dependency.",
1617
ImportWarning)
1718

18-
__version__ = '0.3.1'
19+
20+
__version__ = get_versions()['version']
21+
del get_versions
22+
1923
__all__ = ['utils', 'timeseries', 'pos', 'txn', 'bayesian']

0 commit comments

Comments
 (0)