Skip to content

Commit c057135

Browse files
committed
Included PLY is removed.
1 parent fa3c41f commit c057135

File tree

7 files changed

+7
-4345
lines changed

7 files changed

+7
-4345
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@ License
1313

1414
Apache License 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
1515

16-
Note that this software package includes PLY-3.4 in "vparser/ply". The license of PLY is BSD.
17-
1816

1917
Publication
2018
==============================
@@ -65,7 +63,7 @@ for pull requests
6563

6664
Please check "CONTRIBUTORS.md" for the contributors who provided pull requests.
6765

68-
Pyverilog uses **pytest** for the integration testing. **When you send a pull request, please include a testing example with pytest.**
66+
Pyverilog uses **pytest** for the integration testing. **When you send a pull request, please include a testing example with pytest.**
6967
To write a testing code, please refer the existing testing examples in "tests" directory.
7068

7169
If the pull request code passes all the tests successfully and has no obvious problem, it will be merged to the *develop* branch by the main committers.
@@ -85,9 +83,10 @@ sudo apt install iverilog
8583
```
8684

8785
- Jinja2: 2.10 or later
86+
- PLY: 3.4 or later
8887

8988
```
90-
pip3 install jinja2
89+
pip3 install jinja2 ply
9190
```
9291

9392
Optional installation for testing

pyverilog/vparser/lexer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import os
2121
import re
2222

23-
from pyverilog.vparser.ply.lex import *
23+
from ply.lex import *
2424

2525

2626
class VerilogLexer(object):

pyverilog/vparser/parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
import os
2121
import pathlib
2222

23-
from pyverilog.vparser.ply.yacc import yacc
24-
from pyverilog.vparser.plyparser import PLYParser, Coord, ParseError
23+
from ply.yacc import yacc
24+
from pyverilog.vparser.plyparser import PLYParser, ParseError
2525
from pyverilog.vparser.preprocessor import VerilogPreprocessor
2626
from pyverilog.vparser.lexer import VerilogLexer
2727
from pyverilog.vparser.ast import *

pyverilog/vparser/ply/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)