Brian Warner
da4e7dcfbe
hush a bunch of not-really-problems caught by the lgtm.com static analyzer
...
This is all minor stuff: unreachable debug code (that should be commented-out
instead of in an 'if False:' block), unnecessary 'pass' and 'global'
statements, redundantly-initialized variables. No behavior changes. Nothing
here was actually broken, it just looked suspicious to the static analysis at
https://lgtm.com/projects/g/tahoe-lafs/tahoe-lafs/alerts/?mode=list .
2017-12-31 00:19:41 +01:00
meejah
031a88c25f
simplejson -> json
2017-02-23 15:21:36 -07:00
Daira Hopwood
d8549a2c7f
setuptools delenda est. fixes ticket:1582 :-D
...
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2016-03-15 17:19:10 +00:00
Brian Warner
eb0e786344
show-tool-versions.py: add tox
...
As we fix ticket:#1582, we'll move to 'tox' for running tests (which
creates its own virtualenv), so I'd like to see which buildslaves
currently have it installed, and which need to be updated.
2016-03-08 09:33:01 -08:00
Brian Warner
428ca04e2c
show-tool-versions: add 'virtualenv'
2016-02-22 12:41:35 -08:00
Zooko Wilcox-O'Hearn
f3a1107aab
add print_py_pkg_ver for all deps
...
Including probable-near-future-transitive deps due to the new pyOpenSSL…
2014-05-12 21:51:03 +00:00
Zooko Wilcox-O'Hearn
17736575f4
remove lzip, add cffi, cryptography.io
2014-04-15 16:24:36 +00:00
Zooko Wilcox-O'Hearn
77b536c7a4
remove darcs tools from show-tool-versions
2014-04-11 14:34:01 +00:00
david-sarah
c7038d1807
misc/build_helpers/show-tool-versions.py: s/print_stderr/print_stdout/
2012-04-01 02:28:26 +00:00
Zooko O'Whielacronx
4ead889f03
setup: show-tool-versions: report cl only on windows, report buildslave, git, openssl, and lzip, but not 7za
2012-04-01 00:59:25 +00:00
Brian Warner
1bbdec2a20
show-tool-versions: tolerate missing setuptools
2011-11-01 01:00:10 -07:00
Brian Warner
4baffeed1d
show-tool-versions.py: condense output, hide file-not-found exceptions
2011-11-01 00:45:32 -07:00
Brian Warner
4952eef485
show-tool-versions.py: remove setuptools_trial, unused
2011-10-30 17:47:42 -07:00
david-sarah
06e0d13451
Apply pyflakes to more files and fix the resulting warnings.
2011-01-20 18:10:11 -08:00
david-sarah
3ad08e6d2f
misc/build_helpers/show-tool-versions.py: remove attempts to show stdout.encoding and stderr.encoding that always printed None due to redirection. Also remove code to show os.path.supports_unicode_filenames which is not useful. refs #1251
2011-01-02 17:51:44 -08:00
Zooko O'Whielacronx
7cda268a78
setup: show-tool-versions: include the version of valgrind
2010-11-17 19:06:23 -08:00
Zooko O'Whielacronx
51523f7326
setup: include pycryptopp in the set of Python packages described in the show-tool-versions step (for cross-referencing with the test-with-fake-dists step, which behaves differently depending on what version(s) of pycryptopp are already present before it starts)
2010-11-14 02:05:40 -08:00
david-sarah
901690a029
misc/build_helpers/show-tool-versions.py: look for zetuptoolz egg in the current directory, not the parent.
2010-11-07 15:36:15 -08:00
david-sarah
f7caef635f
misc/build_helpers/show-tool-versions.py: if we can't import pkg_resources, insert the bundled zetuptoolz egg onto sys.path.
2010-11-06 14:44:04 -08:00
Zooko O'Whielacronx
582417c3ca
setup: add platform.machine() to show-tool-versions, because FreeStorm WinXP builder apparently thinks that its platform.machine() is not one of ['i386', 'x86_64', 'amd64', ''], since it is requiring pycryptopp >= 0.5.14 instead of pycryptopp >= 0.5.20
2010-10-31 21:27:21 -07:00
Zooko O'Whielacronx
0ab6211da4
setup: show-tool-versions: emit module and __version__ information even when module name != distribution (package) name, and add TwistedCore, TwistedWeb, and TwistedConch
2010-10-30 00:02:33 -07:00
Zooko O'Whielacronx
5c31a7079b
setup: catch and log ValueError from locale.getdefaultlocale() in show-tool-versions.py
...
I got a bug report from Mathias Baert showing that locale.getdefaultlocale() raises an exception on his Mac OS X system. Heh.
2010-10-14 22:44:40 -07:00
Zooko O'Whielacronx
4c30b80061
setup: add flappclient to the set of tools reported on by show-tool-versions
2010-09-23 00:23:25 -07:00
Zooko O'Whielacronx
76594cb955
setup: format the output of show-tool-versions for better human-readability
2010-09-20 15:54:15 -07:00
Zooko O'Whielacronx
0cc0d19f57
setup: make show-tool-versions report entire verbose exception stack traces when it fails to find a Python package
2010-09-18 18:15:54 -07:00
Zooko O'Whielacronx
a5ebcfa4df
setup: add information about setuptools_darcs and darcsver to the show-tool-versions output
2010-09-18 15:04:10 -07:00
david-sarah
66a0604c71
misc/build_helpers/show-tool-versions.py: get sys.std{out,err}.encoding and 'as' version correctly, and improve formatting.
2010-08-03 03:11:28 -07:00
david-sarah
cd7fb133b7
misc/build_helpers/show-tool-versions.py: avoid error message when 'as -version' does not create a.out.
2010-08-03 02:48:12 -07:00
Zooko O'Whielacronx
6bcf7a465f
setup: show-tool-versions.py: print out the output from the unix command "locale" and re-arrange encoding data a little bit
2010-06-08 21:07:14 -07:00
Zooko O'Whielacronx
73689bbfd3
setup: add zope.interface to the packages described by show-tool-versions.py
2010-06-08 20:49:15 -07:00
david-sarah
5adc1d789d
show-tool-versions.py: platform.linux_distribution() is not always available
2010-06-07 17:45:23 -07:00
david-sarah
1e70a8303f
show-tool-versions.py: show platform.linux_distribution()
2010-06-07 17:38:29 -07:00
Zooko O'Whielacronx
1fc6be28f4
setup: organize misc/ scripts and tools and remove obsolete ones
...
This is for ticket #1068 .
2010-06-06 22:16:18 -07:00