mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-23 03:38:08 -06:00
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))]
|