__init__.py (prophet-1.1) | : | __init__.py (prophet-1.1.1) | ||
---|---|---|---|---|
# Copyright (c) 2017-present, Facebook, Inc. | # Copyright (c) 2017-present, Facebook, Inc. | |||
# All rights reserved. | # All rights reserved. | |||
# | # | |||
# This source code is licensed under the BSD-style license found in the | # This source code is licensed under the BSD-style license found in the | |||
# LICENSE file in the root directory of this source tree. An additional grant | # LICENSE file in the root directory of this source tree. An additional grant | |||
# of patent rights can be found in the PATENTS file in the same directory. | # of patent rights can be found in the PATENTS file in the same directory. | |||
from prophet.forecaster import Prophet | from prophet.forecaster import Prophet | |||
__version__ = '1.0' | from pathlib import Path | |||
about = {} | ||||
here = Path(__file__).parent.resolve() | ||||
with open(here / "__version__.py", "r") as f: | ||||
exec(f.read(), about) | ||||
__version__ = about["__version__"] | ||||
End of changes. 2 change blocks. | ||||
1 lines changed or deleted | 0 lines changed or added |