mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-09-11 18:58:59 +03:00
include dev deps for snyk (#13471)
* make setup.py more normal, except in our exceptional case * include dev deps for snyk * Update setup.py
This commit is contained in:
parent
0f2995e4a1
commit
cdacd43038
4
setup.py
4
setup.py
@ -1,6 +1,7 @@
|
||||
from __future__ import annotations
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
@ -158,6 +159,9 @@ kwargs = dict(
|
||||
},
|
||||
)
|
||||
|
||||
if "setup_file" in sys.modules:
|
||||
# include dev deps in regular deps when run in snyk
|
||||
dependencies.extend(dev_dependencies)
|
||||
|
||||
if len(os.environ.get("CHIA_SKIP_SETUP", "")) < 1:
|
||||
setup(**kwargs) # type: ignore
|
||||
|
Loading…
Reference in New Issue
Block a user