Skip to content

Commit

Permalink
Fixed ModuleNotFoundError
Browse files Browse the repository at this point in the history
  • Loading branch information
VadVergasov committed Mar 16, 2021
1 parent 39b9a5c commit c0613af
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion codeforces_api/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "2.0.4"
__version__ = "2.0.5"
10 changes: 8 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
"""
Install script for CodeforcesApiPy module
"""
import re

from setuptools import setup
from codeforces_api.version import __version__

with open(
"codeforces_api/version.py", "r", encoding="utf-8"
) as f:
version = re.search(r"^__version__\s*=\s*\"(.*)\".*$", f.read(), flags=re.MULTILINE).group(1)

setup(
name="CodeforcesApiPy",
version=__version__,
version=version,
description="Implementation of codeforces.com API",
platforms="any",
url="https://github.com/VadVergasov/CodeforcesApiPy",
Expand Down

0 comments on commit c0613af

Please sign in to comment.