Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (23 sloc) 694 Bytes
#!/usr/bin/env python3
import os
from setuptools import setup
from pathlib import Path
thisDir = Path(__file__).parent.absolute()
packageDir = thisDir / "NTMDTRead"
from kaitaiStructCompile.toolkit import permissiveDecoding
from pathlib import Path
formatsPath = thisDir / "kaitai_struct_formats"
mdtFormatsDir = formatsPath / "scientific" / "nt_mdt"
kaitaiSetuptoolsCfg = {
"formatsRepo": {
"git": "https://github.com/KOLANICH/kaitai_struct_formats.git",
"refspec": "mdt",
"localPath" : str(formatsPath),
"update": True
},
"outputDir": packageDir / "kaitai",
"inputDir": mdtFormatsDir,
"formats": {},
"search": True
}
setup(use_scm_version = True, kaitai=kaitaiSetuptoolsCfg)