-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #102 from LabSid-USP/v0.2.2-beta.1
Bump version to v0.2.2-beta.1
- Loading branch information
Showing
26 changed files
with
58 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# coding=utf-8 | ||
# RUBEM is a distributed hydrological model to calculate monthly | ||
# flows with changes in land use over time. | ||
# Copyright (C) 2020-2022 LabSid PHA EPUSP | ||
# Copyright (C) 2020-2023 LabSid PHA EPUSP | ||
|
||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
|
@@ -20,14 +20,6 @@ | |
|
||
"""RUBEM help setup""" | ||
|
||
__author__ = "LabSid PHA EPUSP" | ||
__email__ = "[email protected]" | ||
__copyright__ = "Copyright 2020-2022, LabSid PHA EPUSP" | ||
__license__ = "GPL" | ||
__date__ = "2022-03-23" | ||
__version__ = "0.1.3" | ||
__release__ = __version__ + "-alpha" | ||
|
||
# Configuration file for the Sphinx documentation builder. | ||
# | ||
# This file only contains a selection of the most common options. For a full | ||
|
@@ -45,12 +37,15 @@ | |
|
||
# sys.path.insert(0, os.path.abspath('.')) | ||
sys.path.insert(0, os.path.abspath("../..")) | ||
sys.path.insert(0, os.path.abspath("../../rubem")) | ||
|
||
from rubem import __version__, __release__ | ||
|
||
# -- Project information ----------------------------------------------------- | ||
|
||
project = "Rainfall rUnoff Balance Enhanced Model (RUBEM)" | ||
copyright = ( | ||
"2020-2022, Laboratório de Sistemas de Suporte a Decisões Aplicados à" | ||
"2020-2023, Laboratório de Sistemas de Suporte a Decisões Aplicados à" | ||
" Engenharia Ambiental e de Recursos Hídricos (LabSid) PHA-EPUSP &" | ||
" contributors" | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# coding=utf-8 | ||
# RUBEM is a distributed hydrological model to calculate monthly | ||
# flows with changes in land use over time. | ||
# Copyright (C) 2020-2022 LabSid PHA EPUSP | ||
# Copyright (C) 2020-2023 LabSid PHA EPUSP | ||
|
||
# This program is free software: you can redistribute it and/or modify | ||
# it under the terms of the GNU General Public License as published by | ||
|
@@ -28,8 +28,8 @@ | |
|
||
__author__ = "LabSid PHA EPUSP" | ||
__email__ = "[email protected]" | ||
__copyright__ = "Copyright (C) 2020-2022 - LabSid/PHA/EPUSP" | ||
__copyright__ = "Copyright (C) 2020-2023 - LabSid/PHA/EPUSP" | ||
__license__ = "GPL" | ||
__date__ = "2022-03-23" | ||
__version__ = "0.1.3" | ||
__release__ = "0.1.3" | ||
__date__ = "2023-05-17" | ||
__version__ = "0.2.2" | ||
__release__ = f"{__version__}-beta.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
import unittest | ||
|
||
import rubem.__version__ as rbv | ||
from rubem import __version__, __author__, __copyright__, \ | ||
__email__, __license__, __date__, __release__ | ||
|
||
|
||
class VersionTest(unittest.TestCase): | ||
|
@@ -11,24 +12,24 @@ def tearDown(self): | |
pass | ||
|
||
def test_author_str(self): | ||
self.assertEqual("LabSid PHA EPUSP", rbv.__author__) | ||
self.assertEqual("LabSid PHA EPUSP", __author__) | ||
|
||
def test_email_str(self): | ||
self.assertEqual("[email protected]", rbv.__email__) | ||
self.assertEqual("[email protected]", __email__) | ||
|
||
def test_copyright_str(self): | ||
self.assertEqual( | ||
"Copyright 2020-2022, LabSid PHA EPUSP", rbv.__copyright__ | ||
"Copyright (C) 2020-2023 - LabSid/PHA/EPUSP", __copyright__ | ||
) | ||
|
||
def test_license_str(self): | ||
self.assertEqual("GPL", rbv.__license__) | ||
self.assertEqual("GPL", __license__) | ||
|
||
def test_date_str(self): | ||
self.assertEqual("2022-03-23", rbv.__date__) | ||
self.assertEqual("2023-05-17", __date__) | ||
|
||
def test_version_str(self): | ||
self.assertEqual("0.1.3", rbv.__version__) | ||
self.assertEqual("0.2.2", __version__) | ||
|
||
def test_release_str(self): | ||
self.assertEqual("0.1.3-alpha", rbv.__release__) | ||
self.assertEqual("0.2.2-beta.1", __release__) |