mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-22 00:20:28 +00:00
put snappy in 'generator' extra dep build and use for generator builds
This commit is contained in:
parent
7205f70192
commit
c36106e630
2
setup.py
2
setup.py
@ -576,6 +576,7 @@ setup(
|
||||
extras_require={
|
||||
"test": ["pytest>=4.4", "pytest-cov", "pytest-xdist"],
|
||||
"lint": ["flake8==3.7.7", "mypy==0.750"],
|
||||
"generator": ["python-snappy==0.5.4"],
|
||||
},
|
||||
install_requires=[
|
||||
"eth-utils>=1.3.0,<2",
|
||||
@ -587,6 +588,5 @@ setup(
|
||||
"remerkleable==0.1.18",
|
||||
"ruamel.yaml==0.16.5",
|
||||
"lru-dict==1.1.6",
|
||||
"python-snappy==0.5.4",
|
||||
]
|
||||
)
|
||||
|
@ -79,7 +79,7 @@ It's recommended to extend the base-generator.
|
||||
Create a `requirements.txt` in the root of your generator directory:
|
||||
```
|
||||
pytest>=4.4
|
||||
../../../
|
||||
../../../[generator]
|
||||
```
|
||||
|
||||
The config helper and pyspec is optional, but preferred. We encourage generators to derive tests from the spec itself in order to prevent code duplication and outdated tests.
|
||||
|
@ -1,2 +1,2 @@
|
||||
pytest>=4.4
|
||||
../../../
|
||||
../../../[generator]
|
||||
|
@ -1,2 +1,2 @@
|
||||
pytest>=4.4
|
||||
../../../
|
||||
../../../[generator]
|
||||
|
@ -1,2 +1,2 @@
|
||||
pytest>=4.4
|
||||
../../../
|
||||
../../../[generator]
|
||||
|
@ -1,2 +1,2 @@
|
||||
pytest>=4.4
|
||||
../../../
|
||||
../../../[generator]
|
@ -1,2 +1,2 @@
|
||||
pytest>=4.4
|
||||
../../../
|
||||
../../../[generator]
|
||||
|
@ -1,2 +1,2 @@
|
||||
pytest>=4.4
|
||||
../../../
|
||||
../../../[generator]
|
||||
|
@ -1,2 +1,2 @@
|
||||
pytest>=4.4
|
||||
../../../
|
||||
../../../[generator]
|
||||
|
@ -1,2 +1,2 @@
|
||||
pytest>=4.4
|
||||
../../../
|
||||
../../../[generator]
|
||||
|
@ -1,2 +1,2 @@
|
||||
pytest>=4.4
|
||||
../../../
|
||||
../../../[generator]
|
||||
|
@ -1,2 +1,2 @@
|
||||
pytest>=4.4
|
||||
../../../
|
||||
../../../[generator]
|
||||
|
Loading…
x
Reference in New Issue
Block a user