asn1c: rename proc.py to asnproc.py, to avoid issues with C / Python2 wrappers
This commit is contained in:
parent
0f3f6aa65c
commit
950fb56069
|
@ -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
|
||||
```
|
||||
|
||||
|
||||
|
|
|
@ -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
|
||||
# *--------------------------------------------------------
|
2
test.py
2
test.py
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue