]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
minor: hush pyflakes, move pycryptopp dep to unconditional section
authorBrian Warner <warner@lothar.com>
Wed, 14 Mar 2012 06:13:51 +0000 (23:13 -0700)
committerBrian Warner <warner@lothar.com>
Wed, 14 Mar 2012 06:20:35 +0000 (23:20 -0700)
Also change Makefile's "pyflakes" rule to emit less output, so buildbot will
count errors properly.

Makefile
src/allmydata/_auto_deps.py

index 4bf09d39ac9a189a17fd4b75259d01050fa1dea6..89532499154fc2b521a76433879b5a96f8ea8119 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -134,7 +134,7 @@ check-miscaptures:
        @echo
 
 pyflakes:
-       $(PYTHON) -OOu `which pyflakes` $(SOURCES) |sort |uniq
+       @$(PYTHON) -OOu `which pyflakes` $(SOURCES) |sort |uniq
        @echo
 
 check-umids:
index 6f7d7cf55c0528cd38892823b77ab1d940af92b0..ee9ad6f4e5b28d27574fe41d711c4144bfce6e57 100644 (file)
@@ -51,6 +51,9 @@ install_requires = [
     # http://www.voidspace.org.uk/python/mock/
     "mock",
 
+    # pycryptopp-0.6.0 includes ed25519
+    "pycryptopp >= 0.6.0",
+
     # Will be needed to test web apps, but not yet. See #1001.
     #"windmill >= 1.3",
 ]
@@ -75,9 +78,7 @@ package_imports = [
 ]
 
 def require_more():
-    import platform, sys
-    # pycryptopp-0.6.0 includes ed25519
-    install_requires.append("pycryptopp >= 0.6.0")
+    import sys
 
     # Sqlite comes built into Python >= 2.5, and is provided by the "pysqlite"
     # distribution for Python 2.4.