|
|
@ -3,6 +3,7 @@ |
|
|
|
# This file is under GNU Affero General Public License 3.0 |
|
|
|
# see LICENSE.txt |
|
|
|
|
|
|
|
import os |
|
|
|
import sys |
|
|
|
import json |
|
|
|
import pEpACIDgen |
|
|
@ -16,7 +17,8 @@ def usage(): |
|
|
|
def print_indent(*args, indent=0): |
|
|
|
print('\t' * indent, *args) |
|
|
|
|
|
|
|
def main(): |
|
|
|
# entry_point (command/script): pEp_acid_gen |
|
|
|
def gen(): |
|
|
|
if len(sys.argv) <= 1: |
|
|
|
usage() |
|
|
|
exit(-1) |
|
|
@ -65,5 +67,9 @@ def main(): |
|
|
|
utils.write_string(header["acid_yml"], "./" + "py_module" + ".yml2", ) |
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__": |
|
|
|
main() |
|
|
|
# entry_point (command/script): pEp_acid_gen-config |
|
|
|
def get_gen_backend_pyBind11(): |
|
|
|
dir_self = os.path.abspath(os.path.dirname(__file__)) |
|
|
|
gen_backend_dir = os.path.join(dir_self, "gen_backend") |
|
|
|
pybind_backend_file = os.path.join(gen_backend_dir,"gen_pybind11.ysl2") |
|
|
|
print(pybind_backend_file) |