We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 39b9a5c commit c0613afCopy full SHA for c0613af
codeforces_api/version.py
@@ -1 +1 @@
1
-__version__ = "2.0.4"
+__version__ = "2.0.5"
setup.py
@@ -1,12 +1,18 @@
"""
2
Install script for CodeforcesApiPy module
3
4
+import re
5
+
6
from setuptools import setup
-from codeforces_api.version import __version__
7
8
+with open(
9
+ "codeforces_api/version.py", "r", encoding="utf-8"
10
+) as f:
11
+ version = re.search(r"^__version__\s*=\s*\"(.*)\".*$", f.read(), flags=re.MULTILINE).group(1)
12
13
setup(
14
name="CodeforcesApiPy",
- version=__version__,
15
+ version=version,
16
description="Implementation of codeforces.com API",
17
platforms="any",
18
url="https://github.com/VadVergasov/CodeforcesApiPy",
0 commit comments