aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts/install.py
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2018-03-10 15:42:41 -0500
committerJack Lloyd <[email protected]>2018-03-10 15:42:41 -0500
commit5a062118ef5e4c508caa67fc8c3a38a7e1db069f (patch)
tree5ec06e8b42f6f79d19146aa070acb7a1e3d6c314 /src/scripts/install.py
parentafe4ae0f83b7207873afac760cb3c32ed40ce4c9 (diff)
Split Python tests out of botan2.py
No reason to ship these to the end user
Diffstat (limited to 'src/scripts/install.py')
-rwxr-xr-xsrc/scripts/install.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/scripts/install.py b/src/scripts/install.py
index 243d58eda..03a15ba3e 100755
--- a/src/scripts/install.py
+++ b/src/scripts/install.py
@@ -236,8 +236,9 @@ def main(args):
makedirs(prepend_destdir(py_lib_path))
py_dir = cfg['python_dir']
- for py in os.listdir(py_dir):
- copy_file(os.path.join(py_dir, py), prepend_destdir(os.path.join(py_lib_path, py)))
+
+ copy_file(os.path.join(py_dir, 'botan2.py'),
+ prepend_destdir(os.path.join(py_lib_path, 'botan2.py')))
if cfg['with_documentation']:
target_doc_dir = os.path.join(options.prefix, options.docdir,