Commit Graph

125 Commits

Author SHA1 Message Date
Brian Warner
5218e87ed1 test-osx-pkg.py: remove unused import 2014-10-26 11:56:57 -07:00
Daira Hopwood
f4d40ffcbf misc/build_helpers/test-osx-pkg.py: script to test the OS X pkg.
After extracting the contents of the package, this script looks at the
output of 'tahoe --version-and-path' to see if the modules are installed
and invoked from the right path.

Author: Ramakrishnan Muthukrishnan <ram@leastauthority.com>
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-10-20 17:52:46 +01:00
Ramakrishnan Muthukrishnan
b07446ffc6 Distribution.xml file and scripts for building the OSX package. 2014-10-20 17:52:46 +01:00
Daira Hopwood
e0c9088757 Delete the obsolete misc/build_helpers/test_mac_diskimage.py script.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2014-10-13 18:50:01 +01:00
Zooko
f0ef82bfac remove all the unused scripts from build_helpers
Fixes #2305.
2014-09-30 03:54:55 +00:00
Brian Warner
a1cc7df23d remove obsolete debian-package building tools
setup.py: stop sometimes-depending upon 'stdeb'
setup.cfg: don't try to alias 'sdist_dsc'
misc/build_helpers/build-deb.py: delete this, it was really old anyways

Closes ticket:2282 (trac).
2014-09-04 22:05:08 -07: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
Daira Hopwood
a0f477618d misc/build_helpers/gen-package-table.py: show Python 2.6 as unsupported on Windows.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
2013-09-09 23:18:18 +01:00
Zooko O'Whielacronx
52571f469e add alternating grey-background to make it easier to scan across the table left to right 2012-10-08 12:08:50 -07:00
Zooko O'Whielacronx
63b24152a7 link from the tahoe-lafs-dep-eggs/README.html to the relevant wiki pages 2012-10-08 10:49:42 -07:00
Brian Warner
488b6f8ccd test-dont-use-too-old-dep.py: fix tarfile timestamps
It turns out that TarFile.addfile() doesn't provide a reasonable default
timestamp, resulting in files dated to 1970 (they're probably wearing
bell-bottoms and listening to disco too). Then, when the bdist_egg command
tries to create a *zip*file with those files, it explodes because zipfiles
cannot handle timestamps before 1980 (it prefers boomboxes and jackets with
straps on the shoulders, thank you very much).

This puts a modern time.time() on the members of the tarfile, allowing future
cryptocoderarchaeologists the opportunity to make fun of fashion trends from
the user's chosen era, rather than an artificially older one.

refs #1342
2012-05-12 23:34:03 -07:00
Zooko
d867765604 modify build_helpers files
Should close #1342. This makes the actual changes to the two test
files (separated from the 'rename' patch to avoid VC complications).
2012-05-12 20:47:24 -07:00
Zooko
533e4bc813 rename build_helpers files
This is from the darcs patch for #1342, which failed to apply on my darcs
tree, so I'm landing it from git. I'm landing the rename-files part
separately from the modify-those-files part to avoid VC complications.
2012-05-12 20:47:01 -07: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
d887782418 add test-git-ignore.py, to port the 'clean' buildbot test to git
add .gitignore to match .darcs-boringfile, mostly
2012-01-08 14:12:32 -08:00
Brian Warner
37c0f2395d minor cleanup: remove trailing spaces in misc/ 2011-12-18 12:18:41 -08: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
91c7cf9007 misc/build_helpers/run_trial.py: undo change to block pywin32 (it didn't work because run_trial.py is no longer used). refs #1334 2011-07-21 20:54:02 -07:00
david-sarah
6e0607f4e0 misc/build_helpers/run_trial.py: ensure that pywin32 is not on the sys.path when running the test suite. Includes some temporary debugging printouts that will be removed. refs #1334 2011-07-21 19:49:07 -07:00
david-sarah
ae3373188c misc/build_helpers/run-with-pythonpath.py: fix pyflakes unused import warning. 2011-01-21 17:50:50 -08:00
david-sarah
06e0d13451 Apply pyflakes to more files and fix the resulting warnings. 2011-01-20 18:10:11 -08:00
david-sarah
5a7c99d29d Change misc/build_helpers/test-with-fake-pkg to use 'setup.py trial'. refs #1296 2011-01-18 20:24:01 -08:00
david-sarah
60d32bb7f7 misc/build_helpers/run_trial.py: fix pyflakes warning. 2011-01-15 00:04:56 -08:00
david-sarah
e2b564024b misc/build_helpers/test-with-fake-dists.py: clean up directories and files only if they exist. 2011-01-14 21:30:11 -08:00
david-sarah
089b27d9f8 misc/build_helpers/test-with-fake-dists.py: wrong arguments in comment. 2011-01-14 20:53:25 -08:00
david-sarah
33786a6d55 Attempt to fix test-with-fake-dist build step. 2011-01-14 18:26:51 -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
david-sarah
41e96b3e5a misc/build_helpers/run_trial.py: allow the module argument to specify a leaf module rather than a directory. This fixes false positive wrong-source errors in the test-from-prefixdir step when we test only allmydata.test.test_runner. 2010-11-21 15:39:57 -08:00
Zooko O'Whielacronx
f606ce068b misc: gen-package-table: show only the highest-numbered package for each platform and each library 2010-11-19 21:39:05 -08:00
Zooko O'Whielacronx
62af525179 tests: test-with-fake-dists: clean up *just* the pycryptopp-0.5.24 eggs when exiting
also don't set the PATH and PYTHONPATH, which is unnecessary for this test
also wrap the behavior in a couple of functions, just for tidiness
2010-11-17 22:31:09 -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
0730d693e8 setup: clean up fake pycryptopp distribution after test-with-fake-dists.py created it 2010-11-17 01:32:49 -08:00
Zooko O'Whielacronx
8fef758511 tests: test-with-fake-dists.py has the side-effect of injecting a fake package into ./support, so after that test rm -rf ./support, and likewise with ./pycryptopp*.egg. 2010-11-17 01:01:00 -08:00
Zooko O'Whielacronx
bc396b53ab tests: change test-with-fake-pkg to exercise a test suite which actually requires pycryptopp, thus making this a better test which can detect ill-installed pycryptopp 2010-11-17 23:23:34 -08:00
david-sarah
55bd4e254f misc/build_helpers/gen-package-table.py: put 'n/a' in table entries for pywin32 on non-Windows platforms. Also remove some dead code. refs #1247 2010-11-14 11:35:58 -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
Zooko O'Whielacronx
6514cd9a29 setup: gen-package-table.py -- Python packages can have . in their name 2010-11-14 00:26:43 -08:00
Zooko O'Whielacronx
c14e20c2f8 setup: David-Sarah's new gen-package-table.py plus my patch to put the newer versions of Python first
fixes #1247
2010-11-13 23:35:32 -08:00
Zooko O'Whielacronx
59dcd5014d setup: test whether the build system prefers binary dists which are new enough over source dists which are even newer
ref: #1233
2010-11-13 07:28:22 -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
david-sarah
564f47e5fe misc/build_helpers/gen-package-table.py: allow all lowercase letters except 'w' (for example, 'c' and 'dev') in package versions. 2010-11-05 08:47:56 -07:00
david-sarah
50e9ed3ed0 misc/build_helpers/run_trial.py: minor refactoring -- make variable names consistent between run_trial.py and test_runner.py 2010-11-03 18:20:27 -07:00
Zooko O'Whielacronx
3e1c3a8a79 setup: fix gen-package-table to allow the "_r$REV" version numbers of packages 2010-11-04 00:39:44 -07:00
david-sarah
af4822d2d8 misc/build_helpers/gen-package-table.py: fix missing 'r's (meant to delete CRs :-) 2010-11-02 21:37:18 -07:00
david-sarah
a643558f04 add misc/build_helpers/gen-package-table.py. refs #1247 2010-11-02 21:33:28 -07:00
Zooko O'Whielacronx
c3b1bca954 tests: make test-with-fake-pkg's unacceptably-old fake pycryptopp be 0.5.13 instead of 0.5.17, since 0.5.17 is acceptably new on non-x86 archs
Also move the fakepkgs directory to be in misc/build_helpers/ instead of in the base of the source tree.
2010-11-01 22:33:57 -07: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
david-sarah
8eca94e498 misc/build_helpers/run_trial.py: fix another typo in last patch. 2010-10-31 09:03:32 -07:00
david-sarah
7da0457ee5 misc/build_helpers/run_trial.py: fix typo in last patch. 2010-10-31 08:52:15 -07:00
david-sarah
74996ffe46 misc/build_helpers/run_trial.py: fix false positive on directory check that can occur when running run_trial from test-with-fake-pkg manually. 2010-10-31 08:36:13 -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
david-sarah
7cec440a14 misc/build_helpers/test-with-fake-pkg.py: look for eggs in the parent of the src directory. refs #1190 2010-10-29 20:43:03 -07:00
david-sarah
8835f009d0 misc/build_helpers/run_trial.py: look for zetuptoolz egg in the parent directory, not the cwd of run_trial. refs #1190 2010-10-29 16:03:29 -07:00
david-sarah
fd02946074 setup.py, misc/build_helpers/run_trial.py: use undocumented __requires__ variable to cause setuptools/zetuptoolz to put the correct versions of dependencies on sys.path. Also ensure that run_trial adds the bundled zetuptoolz egg at the start of sys.path if present. Make the source directory comparison work correctly for the test-with-fake-pkg build step. refs #1190 2010-10-29 15:28:25 -07:00
david-sarah
390c40cd8c add misc/build_helpers/test-with-fake-pkg.py. refs #1190 2010-10-28 19:51:50 -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
david-sarah
3af6f19cb0 misc/build_helpers/run_trial.py: check that the root from which the module we are testing was loaded is the current directory. This version of the patch folds in later fixes to the logic for caculating the directories to compare, and improvements to error messages. addresses #1137 2010-08-01 21:55:35 -07:00
david-sarah
9c6ec58be5 misc/build_helpers/run-with-pythonpath.py: fix stale comment, and remove 'trial' example that is not the right way to run trial. 2010-07-26 15:57:29 -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