isapego commented on code in PR #4628: URL: https://github.com/apache/ignite-3/pull/4628#discussion_r1815177057
########## modules/platforms/python/setup.py: ########## @@ -46,12 +47,19 @@ def is_a_requirement(req_line): long_description = readme_file.read() version = None -with open(PACKAGE_NAME + '/__init__.py', 'r') as fd: - version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', - fd.read(), re.MULTILINE).group(1) +with open(PACKAGE_NAME + '/_version.txt', 'r') as fd: Review Comment: ```suggestion with open(os.path.join(PACKAGE_NAME, '_version.txt'), 'r') as fd: ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@ignite.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org