asn1c: rename proc.py to asnproc.py, to avoid issues with C / Python2 wrappers

This commit is contained in:
mich 2019-04-02 09:58:12 +02:00
parent 0f3f6aa65c
commit 950fb56069
5 changed files with 6 additions and 7 deletions

View File

@ -77,7 +77,7 @@ It is also possible to recompile all ASN.1 modules, this will take few minutes
should have been compiled with the latest version of the compiler):
```
python -m pycrate_asn1c.proc
python -m pycrate_asn1c.asnproc
```

View File

@ -21,7 +21,7 @@
# * MA 02110-1301 USA
# *
# *--------------------------------------------------------
# * File Name : pycrate_asn1c/proc.py
# * File Name : pycrate_asn1c/asnproc.py
# * Created : 2016-03-02
# * Authors : Benoit Michau
# *--------------------------------------------------------

View File

@ -31,7 +31,7 @@ def test_perf():
def main():
TO = time.time()
test_unit()
#test_unit()
test_perf()
print('[+] total time: %f sec' % (time.time() - TO, ))
return 0

View File

@ -40,9 +40,8 @@ from test.test_csn1 import *
from test.test_asn1rt import *
from test.test_mobile import *
from test.test_gsmrr import *
from pycrate_asn1c.proc import compile_text, compile_spec, compile_all, \
generate_modules, PycrateGenerator, \
GLOBAL, ASN_SPECS
from pycrate_asn1c.asnproc import compile_text, compile_spec, compile_all, \
generate_modules, PycrateGenerator, GLOBAL, ASN_SPECS
from pycrate_asn1rt.asnobj import ASN1Obj
Element._SAFE_STAT = True

View File

@ -32,7 +32,7 @@ import os
import sys
import argparse
from pycrate_asn1c.proc import compile_text, compile_spec, compile_all, \
from pycrate_asn1c.asnproc import compile_text, compile_spec, compile_all, \
generate_modules, PycrateGenerator, JSONDepGraphGenerator, ASN_SPECS