Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
25 lines (21 sloc) 531 Bytes
#!/usr/bin/env python3
from setuptools import setup
from pathlib import Path
thisDir=Path(__file__).parent
from kaitaiStructCompile.toolkit import permissiveDecoding
formatsPath=str(thisDir / "kaitai_struct_formats")
kaitaiCfg={
"formats":{
"specpr.py": {
"path":"scientific/spectroscopy/specpr.ksy",
"postprocess":["permissiveDecoding"]
}
},
"formatsRepo": {
"localPath" : formatsPath,
"update": True
},
"outputDir": "SpecprParser",
"inputDir": formatsPath
}
setup(use_scm_version = True, kaitai=kaitaiCfg)