Commit a6c5bf136e763e772d857f0158a0c22325817772

Authored by Jürgen Knödlseder
1 parent 7031363d

Copy compscripts into build directory

Showing 1 changed file with 7 additions and 5 deletions
pyext/setup.py.in
1 1 #############################################################################
2 2 # Disutils setup file for ctools Python extension module #
3 3 # ------------------------------------------------------------------------- #
4   -# Copyright (C) 2011-2017 Juergen Knoedlseder #
  4 +# Copyright (C) 2011-2021 Juergen Knoedlseder #
5 5 # ------------------------------------------------------------------------- #
6 6 # #
7 7 # This program is free software: you can redistribute it and/or modify #
... ... @@ -145,11 +145,13 @@ if is_build:
145 145 os.system('cp %s %s' % ('@top_srcdir@/pyext/'+py_file, '@top_builddir@/pyext/'+py_file))
146 146  
147 147 # In case that the build directory is different from the source directory
148   - # then copy all cscripts and parfiles from the source directory to the
149   - # build directory
  148 + # then copy all cscripts, comscripts and parfiles from the source directory
  149 + # to the build directory
150 150 if '@top_srcdir@' != '@top_builddir@':
151   - os.system('cp %s/cscripts/*.py %s/cscripts' % ('@top_srcdir@', '@top_builddir@'))
152   - os.system('cp %s/cscripts/*.par %s/cscripts' % ('@top_srcdir@', '@top_builddir@'))
  151 + os.system('cp %s/cscripts/*.py %s/cscripts' % ('@top_srcdir@', '@top_builddir@'))
  152 + os.system('cp %s/cscripts/*.par %s/cscripts' % ('@top_srcdir@', '@top_builddir@'))
  153 + os.system('cp %s/modules/comscripts/*.py %s/modules/comscripts' % ('@top_srcdir@', '@top_builddir@'))
  154 + os.system('cp %s/modules/comscripts/*.par %s/modules/comscripts' % ('@top_srcdir@', '@top_builddir@'))
153 155  
154 156 # Setup
155 157 setup(name='@PACKAGE_NAME@',
... ...