13 lines
277 B
Python
13 lines
277 B
Python
import glob
|
|
import os.path
|
|
import platform
|
|
|
|
def find_datafiles():
|
|
system = platform.system()
|
|
if system == 'Windows':
|
|
file_ext = '*.exe'
|
|
else:
|
|
file_ext = '*.sh'
|
|
path = os.path.abspath(os.path.join(__path__[0], 'bootstrappers', file_ext))
|
|
return [('', glob.glob(path))]
|