From 1cf75c8d5c28675a9d8c54be8432a5fadbbc853e Mon Sep 17 00:00:00 2001 From: ymyke Date: Fri, 11 Mar 2022 18:23:34 +0100 Subject: [PATCH] Make image links absolute so they also work from PyPI --- README.md | 4 ++-- pypme/__init__.py | 2 +- pyproject.toml | 2 +- tests/test_pypme.py | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a0e3513..c848301 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ pmeirr, assetirr, df = verbose_xpme( Will return `0.5525698793027238` and `0.19495150355969598` for the IRRs and produce this dataframe: -![Example dataframe](images/example_df.png) +![Example dataframe](https://raw.githubusercontent.com/ymyke/pypme/main/images/example_df.png) Notes: - The `cashflows` are interpreted from a transaction account that is used to buy from an @@ -56,7 +56,7 @@ pmeirr, assetirr, df = verbose_pme( Results in this df and IRRs of 0: -![Garbage example df](images/garbage_example_df.png) +![Garbage example df](https://raw.githubusercontent.com/ymyke/pypme/main/images/garbage_example_df.png) ## References diff --git a/pypme/__init__.py b/pypme/__init__.py index 75febb7..7024738 100644 --- a/pypme/__init__.py +++ b/pypme/__init__.py @@ -1,2 +1,2 @@ -__version__ = '0.1.2' +__version__ = '0.1.3' from .pme import verbose_pme, pme, verbose_xpme, xpme diff --git a/pyproject.toml b/pyproject.toml index 09ffde0..69c71b5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pypme" -version = "0.1.2" +version = "0.1.3" description = "Python library for PME (Public Market Equivalent) calculation" authors = ["ymyke"] license = "MIT" diff --git a/tests/test_pypme.py b/tests/test_pypme.py index c5313a6..5d40654 100644 --- a/tests/test_pypme.py +++ b/tests/test_pypme.py @@ -7,7 +7,7 @@ def test_version(): - assert __version__ == "0.1.2" + assert __version__ == "0.1.3" @pytest.mark.parametrize(