Skip to content

Commit

Permalink
updated install_stan to install the C++ toolchain on Windows if req…
Browse files Browse the repository at this point in the history
…uired
  • Loading branch information
Martin Eastwood authored and Martin Eastwood committed Dec 13, 2024
1 parent eea1bf3 commit 84a3ce3
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 3 deletions.
4 changes: 4 additions & 0 deletions docs/changelog/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ Version Numbering
`penaltyblog` follows the SemVer versioning guidelines. For more information,
see `semver.org <http://semver.org/>`_

v1.0.1 (2024-12-13)
^^^^^^^^^^^^^^^^^^^^
- updated `install_stan` to install the C++ toolchain on Windows if required

v1.0.0 (2024-12-12)
^^^^^^^^^^^^^^^^^^^^
- Removed pymc as a dependency
Expand Down
7 changes: 6 additions & 1 deletion penaltyblog/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import platform

from . import backtest, fpl, implied, kelly, metrics, models, ratings, scrapers
from .version import __version__

Expand All @@ -8,4 +10,7 @@ def install_stan():
"""
import cmdstanpy

cmdstanpy.install_cmdstan()
if platform.system() == "Windows":
cmdstanpy.install_cmdstan(compiler=True)
else:
cmdstanpy.install_cmdstan()
2 changes: 1 addition & 1 deletion penaltyblog/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.0" # noqa
__version__ = "1.0.1" # noqa
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "penaltyblog"
version = "1.0.0"
version = "1.0.1"
description = "Library from http://pena.lt/y/blog for scraping and modelling football (soccer) data"
authors = [{ name = "Martin Eastwood", email = "[email protected]" }]
readme = "README.md"
Expand Down

0 comments on commit 84a3ce3

Please sign in to comment.