Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,15 @@ Changed
- Deprecated `Notification.creation_time <https://codingame.readthedocs.io/en/latest/api.html#codingame.Notification.creation_time>`__ in favor of
`Notification.date <https://codingame.readthedocs.io/en/latest/api.html#codingame.Notification.date>`__

Version 1.2.1 (2021-11-06)
--------------------------

Fixed
*****

- ``ModuleNotFoundError`` of ``codingame.types`` submodule when importing
``codingame``.

Version 1.2.0 (2021-11-04)
--------------------------

Expand Down
5 changes: 3 additions & 2 deletions codingame/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@
"VersionInfo", major=int, minor=int, micro=int, releaselevel=str, serial=int
)

version_info = VersionInfo(major=1, minor=2, micro=0, releaselevel="", serial=0)
version_info = VersionInfo(major=1, minor=2, micro=1, releaselevel="", serial=0)

__title__ = "codingame"
__author__ = "takos22"
__version__ = "1.2.0"
__version__ = "1.2.1"

from . import types # needed for including codingame.types submodule in release
from .clash_of_code import ClashOfCode, Player
from .client import Client
from .codingamer import CodinGamer
Expand Down
9 changes: 9 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,15 @@ Changed
- Deprecated :attr:`Notification.creation_time` in favor of
:attr:`Notification.date`

Version 1.2.1 (2021-11-06)
--------------------------

Fixed
*****

- :exc:`ModuleNotFoundError` of ``codingame.types`` submodule when importing
``codingame``.

Version 1.2.0 (2021-11-04)
--------------------------

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def get_packages(package) -> typing.List[str]:
"""Return root package and all sub-packages."""

return [
dirpath
dirpath.replace("\\", ".")
for dirpath, *_ in os.walk(package)
if os.path.exists(os.path.join(dirpath, "__init__.py"))
]
Expand Down