Skip to content

Commit 918b65f

Browse files
committed
avoid warning about invalid escape char
1 parent b955c30 commit 918b65f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1330,7 +1330,7 @@ def run(self):
13301330
print('GalSim version is %s'%(galsim_version))
13311331

13321332
# Write a Version.h file that has this information for people using the C++ library.
1333-
vi = re.split('\.|-',galsim_version)
1333+
vi = re.split(r'\.|-',galsim_version)
13341334
version_info = tuple([int(x) for x in vi if x.isdigit()])
13351335
if len(version_info) == 2:
13361336
version_info = version_info + (0,)

0 commit comments

Comments
 (0)