We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f488f35 commit fb3a537Copy full SHA for fb3a537
setup.py
@@ -32,10 +32,14 @@ def get_install_requires(filename):
32
if ' - GitHub' in description:
33
description = description[:description.index(' - GitHub')]
34
html = BeautifulSoup(rget(release , headers).text ,'lxml')
35
-version = html.find('div',{'class':'release-header'}).find('a').text
+logger.info(f"description: {description}")
36
+
37
+#
38
+with open('tagname','r',encoding='utf-8') as f:
39
+ version = f.read()
40
if ':' in version:
41
version = version[:version.index(':')].strip()
-logger.info(f"description: {description}")
42
+version = version.strip()
43
logger.info(f"version: {version}")
44
45
#
0 commit comments