Skip to content

Commit 91b5a82

Browse files
committed
Fixed a problem in setup.py (skip copying examples in installation)
1 parent 609baa3 commit 91b5a82

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

setup.py

+8-8
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,13 @@
2121

2222
subprocess.call(['make'])
2323

24-
def package_files(directory):
25-
paths = []
26-
for (path, directories, filenames) in os.walk(directory):
27-
for filename in filenames:
28-
paths.append(os.path.join('..', path, filename))
29-
return paths
30-
data_files = package_files('examples')
24+
#def package_files(directory):
25+
# paths = []
26+
# for (path, directories, filenames) in os.walk(directory):
27+
# for filename in filenames:
28+
# paths.append(os.path.join('..', path, filename))
29+
# return paths
30+
#data_files = package_files('examples')
3131

3232
setup(
3333
name="csld",
@@ -41,7 +41,7 @@ def package_files(directory):
4141
package_data={"csld.util": ["*.json"],
4242
# 'csld': ['../bregman*.so', '../f_phonon*.so', '../bcs_driver*.so','../f_util*.so','../Makefile', '../css*/*.f90','../compile/f_util/*.f90', '../csld/*/*.f90', '../csld/*/*.f']},
4343
'csld': ['../bregman*.so', '../f_phonon*.so', '../f_util*.so','../Makefile', '../css*/*.f90','../compile/f_util/*.f90', '../csld/*/*.f90', '../csld/*/*.f']},
44-
data_files=data_files,
44+
#data_files=data_files,
4545
license="MIT",
4646
description="CSLD",
4747
long_description="Compressive sensing lattice dynamics",

0 commit comments

Comments
 (0)