Skip to content

Commit 2686731

Browse files
committed
setup.py
1 parent 57e329e commit 2686731

File tree

3 files changed

+14
-27
lines changed

3 files changed

+14
-27
lines changed

README.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,17 @@ Requirements
8484
sudo apt install iverilog
8585
```
8686

87+
- Pyverilog: 1.1.3 or later
8788
- Jinja2: 2.10 or later
89+
- NumPy: 1.14 or later
8890
- pytest: 3.2 or later
8991
- pytest-pythonpath: 0.7 or later
90-
- Pyverilog: 1.1.3 or later
9192

9293
```
93-
pip3 install jinja2 pytest pytest-pythonpath pyverilog ipgen
94+
pip3 install pyverilog jinja2 numpy pytest pytest-pythonpath
9495
```
9596

96-
Options
97+
Optional depedency
9798
--------------------
9899

99100
- Graphviz: 2.38.0 or later
@@ -106,14 +107,6 @@ sudo apt install graphviz
106107
pip3 install pygraphviz
107108
```
108109

109-
- NumPy: 1.14 or later
110-
111-
This is required for the memory image generation function of types.axi.AxiMemoryModel from Python list or numpy.ndarray:
112-
113-
```
114-
pip3 install numpy
115-
```
116-
117110
Install
118111
--------------------
119112

README.rst

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -99,17 +99,18 @@ Requirements
9999

100100
sudo apt install iverilog
101101

102+
- Pyverilog: 1.1.3 or later
102103
- Jinja2: 2.10 or later
104+
- NumPy: 1.14 or later
103105
- pytest: 3.2 or later
104106
- pytest-pythonpath: 0.7 or later
105-
- Pyverilog: 1.1.3 or later
106107

107108
::
108109

109-
pip3 install jinja2 pytest pytest-pythonpath pyverilog ipgen
110+
pip3 install pyverilog jinja2 numpy pytest pytest-pythonpath
110111

111-
Options
112-
-------
112+
Optional depedency
113+
------------------
113114

114115
- Graphviz: 2.38.0 or later
115116
- Pygraphviz: 1.3.1 or later
@@ -122,15 +123,6 @@ veriloggen.dataflow:
122123
sudo apt install graphviz
123124
pip3 install pygraphviz
124125

125-
- NumPy: 1.14 or later
126-
127-
This is required for the memory image generation function of
128-
types.axi.AxiMemoryModel from Python list or numpy.ndarray:
129-
130-
::
131-
132-
pip3 install numpy
133-
134126
Install
135127
-------
136128

setup.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ def read(filename):
2323
packages=find_packages(),
2424
package_data={'veriloggen.utils': ['VERSION'],
2525
'veriloggen.simulation': ['*.cpp'], },
26-
install_requires=['pyverilog>=1.1.3', 'Jinja2>=2.10'],
26+
install_requires=['pyverilog>=1.1.3',
27+
'Jinja2>=2.10',
28+
'numpy>=1.14',
29+
'pytest>=3.2',
30+
'pytest-pythonpath>=0.7'],
2731
extras_require={
2832
'graph': ['pygraphviz>=1.3.1'],
29-
'test': ['pytest>=3.2', 'pytest-pythonpath>=0.7'],
30-
'memimg': ['numpy>=1.14'],
3133
},
3234
)

0 commit comments

Comments
 (0)