mirror of https://github.com/openXC7/prjxray.git
Move xjson / xyaml to utils instead of prjxray.
Signed-off-by: Tim 'mithro' Ansell <me@mith.ro>
This commit is contained in:
parent
8d61ee5ac0
commit
8d3e95cd1a
|
|
@ -10,7 +10,7 @@ $(SPECIMENS): Makefile.specimen
|
|||
|
||||
pushdb:
|
||||
cp ${XRAY_PART}.yaml ${XRAY_DATABASE_DIR}/$(XRAY_DATABASE)
|
||||
python -m prjxray.xyaml ${XRAY_PART}.yaml > ${XRAY_DATABASE_DIR}/$(XRAY_DATABASE)/${XRAY_PART}.json
|
||||
python -m utils.xyaml ${XRAY_PART}.yaml > ${XRAY_DATABASE_DIR}/$(XRAY_DATABASE)/${XRAY_PART}.json
|
||||
|
||||
run:
|
||||
$(MAKE) clean
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
import os, sys, json, re
|
||||
|
||||
from prjxray import xjson
|
||||
from utils import xjson
|
||||
|
||||
|
||||
def load_tiles(tiles_fn):
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ import re
|
|||
import sys
|
||||
import copy
|
||||
|
||||
from prjxray import xjson
|
||||
from utils import xjson
|
||||
|
||||
# All site names appear to follow the pattern <type>_X<abs coord>Y<abs coord>.
|
||||
# Generally speaking, only the tile relatively coordinates are required to
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import prjxray.lib
|
|||
import pickle
|
||||
import collections
|
||||
|
||||
from prjxray import xjson
|
||||
from utils import xjson
|
||||
|
||||
|
||||
def build_node_index(fname):
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import datetime
|
|||
import pickle
|
||||
import sys
|
||||
|
||||
from prjxray import xjson
|
||||
from utils import xjson
|
||||
|
||||
|
||||
def get_tile_grid_info(fname):
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import os
|
|||
import os.path
|
||||
import re
|
||||
|
||||
from prxray import xjson
|
||||
from utils import xjson
|
||||
|
||||
|
||||
def main():
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import multiprocessing
|
|||
import os
|
||||
import functools
|
||||
|
||||
from prxray import xjson
|
||||
from utils import xjson
|
||||
|
||||
|
||||
def check_and_strip_prefix(name, prefix):
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import yaml
|
|||
import json
|
||||
import unittest
|
||||
|
||||
from prjxray import xjson
|
||||
from utils import xjson
|
||||
|
||||
|
||||
def load(f):
|
||||
Loading…
Reference in New Issue