Skip to content

Commit 0133b13

Browse files
authored
Merge pull request #13 from 1.2.x
2 parents 8e22e3b + 3d76dc5 commit 0133b13

File tree

4 files changed

+22
-3
lines changed

4 files changed

+22
-3
lines changed

CHANGELOG.rst

+9
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,15 @@ Changed
2929
- Deprecated `Notification.creation_time <https://codingame.readthedocs.io/en/latest/api.html#codingame.Notification.creation_time>`__ in favor of
3030
`Notification.date <https://codingame.readthedocs.io/en/latest/api.html#codingame.Notification.date>`__
3131

32+
Version 1.2.1 (2021-11-06)
33+
--------------------------
34+
35+
Fixed
36+
*****
37+
38+
- ``ModuleNotFoundError`` of ``codingame.types`` submodule when importing
39+
``codingame``.
40+
3241
Version 1.2.0 (2021-11-04)
3342
--------------------------
3443

codingame/__init__.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@
1111
"VersionInfo", major=int, minor=int, micro=int, releaselevel=str, serial=int
1212
)
1313

14-
version_info = VersionInfo(major=1, minor=2, micro=0, releaselevel="", serial=0)
14+
version_info = VersionInfo(major=1, minor=2, micro=1, releaselevel="", serial=0)
1515

1616
__title__ = "codingame"
1717
__author__ = "takos22"
18-
__version__ = "1.2.0"
18+
__version__ = "1.2.1"
1919

20+
from . import types # needed for including codingame.types submodule in release
2021
from .clash_of_code import ClashOfCode, Player
2122
from .client import Client
2223
from .codingamer import CodinGamer

docs/changelog.rst

+9
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,15 @@ Changed
3131
- Deprecated :attr:`Notification.creation_time` in favor of
3232
:attr:`Notification.date`
3333

34+
Version 1.2.1 (2021-11-06)
35+
--------------------------
36+
37+
Fixed
38+
*****
39+
40+
- :exc:`ModuleNotFoundError` of ``codingame.types`` submodule when importing
41+
``codingame``.
42+
3443
Version 1.2.0 (2021-11-04)
3544
--------------------------
3645

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def get_packages(package) -> typing.List[str]:
2727
"""Return root package and all sub-packages."""
2828

2929
return [
30-
dirpath
30+
dirpath.replace("\\", ".")
3131
for dirpath, *_ in os.walk(package)
3232
if os.path.exists(os.path.join(dirpath, "__init__.py"))
3333
]

0 commit comments

Comments
 (0)