Skip to content

Commit 79a7790

Browse files
committed
...
1 parent 7a80e12 commit 79a7790

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,15 @@
99
author = 'artificial-scientist-lab'
1010
1111
description = 'Theseus, a highly-efficient inverse-design algorithm for quantum optical experiments'
12-
dist_name = 'pytheus'
12+
dist_name = 'suehtyp'
1313
package_name = 'pytheus'
1414
year = '2022'
1515
url = 'https://github.com/artificial-scientist-lab/Pytheus'
1616

1717

1818
def get_version():
1919
content = open(Path(package_name) / '__init__.py').readlines()
20-
for line in content:
21-
match = re.match('^ *__version__ *= *[\'"]([^\'"]+)', line)
22-
if match:
23-
return match.group(0)
20+
return "1.2.3"
2421
raise Exception('Cannot extract version string.')
2522

2623

0 commit comments

Comments
 (0)