Skip to content

Commit 18555ec

Browse files
committed
add version.txt to mydata_files in setup.py
1 parent f8550d6 commit 18555ec

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

setup.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,12 @@ def writeConfig(local_path, config={}):
287287
mymodules.append(noext)
288288

289289
# Data files to copy
290-
mydata_files.append((os.path.join('pysces'), [os.path.join('pysces', 'pyscfg.ini')]))
290+
mydata_files.append(
291+
(
292+
os.path.join('pysces'),
293+
[os.path.join('pysces', 'pyscfg.ini'), os.path.join('pysces', 'version.txt')],
294+
)
295+
)
291296
mydata_files.append(('', [os.path.join('pysces', 'pysces.pth')]))
292297

293298
# JR 2021-08 userguide.pdf included as a symlink to built docs in submodule

0 commit comments

Comments
 (0)