put snappy in 'generator' extra dep build and use for generator builds

This commit is contained in:
Danny Ryan 2021-03-10 17:18:11 -07:00
parent 7205f70192
commit c36106e630
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
12 changed files with 12 additions and 12 deletions

View File

@ -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",
]
)

View File

@ -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.

View File

@ -1,2 +1,2 @@
pytest>=4.4
../../../
../../../[generator]

View File

@ -1,2 +1,2 @@
pytest>=4.4
../../../
../../../[generator]

View File

@ -1,2 +1,2 @@
pytest>=4.4
../../../
../../../[generator]

View File

@ -1,2 +1,2 @@
pytest>=4.4
../../../
../../../[generator]

View File

@ -1,2 +1,2 @@
pytest>=4.4
../../../
../../../[generator]

View File

@ -1,2 +1,2 @@
pytest>=4.4
../../../
../../../[generator]

View File

@ -1,2 +1,2 @@
pytest>=4.4
../../../
../../../[generator]

View File

@ -1,2 +1,2 @@
pytest>=4.4
../../../
../../../[generator]

View File

@ -1,2 +1,2 @@
pytest>=4.4
../../../
../../../[generator]

View File

@ -1,2 +1,2 @@
pytest>=4.4
../../../
../../../[generator]