python-cryptography: fix build by disabling setup requirements

python-cryptography tries to install other packages during setup.

However, this isn't needed, since they should have been already
resolved/installed via LEDE/OpenWrt's build system dep logic.

Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
This commit is contained in:
Alexandru Ardelean
2017-02-26 12:28:33 +02:00
committed by Alexandru Ardelean
parent 4bceecac96
commit 274cacf365
2 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
diff --git a/setup.py b/setup.py
index b5c05df..a777dd7 100644
--- a/setup.py
+++ b/setup.py
@@ -266,6 +266,7 @@ class DummyPyTest(test):
with open(os.path.join(base_dir, "README.rst")) as f:
long_description = f.read()
+setup_requirements=[]
setup(
name=about["__title__"],