Skip to content

Commit

Permalink
Fix package building
Browse files Browse the repository at this point in the history
  • Loading branch information
vonum committed Sep 5, 2022
1 parent d938f9d commit 3762ff1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 1 addition & 2 deletions multi_prophet/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
from .prophet import Prophet
from .factories import model_pool_factory, dataframe_builder_factory

__version__ = "1.1.0"
__version__ = "1.1.1"


class MultiProphet:

def __init__(self, columns=[], config=None, regressors={}, **kwargs):
self.model_pool = model_pool_factory(columns=columns,
config=config,
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="multi-prophet",
version="1.1.0",
version="1.1.1",
author="Milan Keca",
author_email="vonum.mk@gmail.com",
description="Multivariate forecasting using Facebook Prophet",
Expand All @@ -19,7 +19,7 @@
"Operating System :: OS Independent",
],
install_requires=[
"fbprophet==0.6",
"prophet=1.0",
"pandas",
"plotly"
]
Expand Down
3 changes: 1 addition & 2 deletions tests/test_multi_prophet.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,12 @@
PREDICTOR_COLUMNS = ["y", "y1"]

class MultiProphetTestCase(unittest.TestCase):

def setUp(self):
self.df = pd.read_csv("tests/data/example_wp_log_peyton_manning.csv")
self.df["y1"] = self.df["y"]

def test_version(self):
self.assertEqual("1.1.0", multi_prophet.__version__)
self.assertEqual("1.1.1", multi_prophet.__version__)

def test_constructor(self):
mp = multi_prophet.MultiProphet(columns=PREDICTOR_COLUMNS)
Expand Down

0 comments on commit 3762ff1

Please sign in to comment.