David-Sarah Hopwood
7008ffa55e
Require at least Python 2.6. fixes #1658
...
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2013-03-15 05:13:30 +00:00
David-Sarah Hopwood
3bdd744b8e
Make doubly sure that we fail quickly on future Python 3.x versions. refs #1775
...
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2013-03-15 04:41:53 +00:00
David-Sarah Hopwood
edfb40e57c
Ensure that bin/tahoe and setup.py fail quickly on Python 3.3+. fixes #1775
...
Signed-off-by: David-Sarah Hopwood <david-sarah@jacaranda.org>
2013-03-15 04:28:35 +00:00
david-sarah
b82cddef7b
setup.py and bin/tahoe-script.template: the error when we try to use Python 3 should give the correct minimum Python version (now 2.5). refs #1658
2012-06-11 03:52:16 +00:00
david-sarah
9a76d56fa3
Restore --rterrors option to 'setup.py test' and 'setup.py trial' to keep buildbots happy. refs #1699
2012-05-31 22:23:07 +00:00
david-sarah
972bcb1c42
Change 'setup.py test' and 'setup.py trial' to pass --rterrors to trial by default. Suppress using --no-rterrors. Also pass --until-failure/-u to trial. fixes #1699
2012-05-31 22:00:00 +00:00
david-sarah
e215af8646
Update copyright notices. refs #1686
2012-03-13 20:50:57 +00:00
david-sarah
70b08ddb42
Add a Python 3 blocker to setup.py, to display a better error message when it is run under Python 3.
2012-01-27 01:55:25 +00:00
Brian Warner
9175c2451a
fix bundled data under git, remove setuptools_darcs
...
This uses explicitly enumerated packages= and package_data= arguments to
setup(), rather than relying upon the convenient (but darcs-specific)
functions which would determine these values by asking the revision-control
system.
Note that darcsver is still used, when building from a darcs tree.
2012-01-08 14:12:50 -08:00
Brian Warner
dd2e7a1127
setup.py: stop putting pyutil.version_class/etc in _version.py
...
allmydata.__version__ can just be a string, it doesn't need to be an instance
of some fancy NormalizedVersion class. Everything inside Tahoe uses
str(__version__) anyways.
Also add .dev0 when a git tree is dirty.
Closes #1466
2011-12-04 21:50:49 -08:00
Brian Warner
7d5ca407a1
setup.py: get version from git or darcs
...
This replaces the setup.cfg aliases that run "darcsver" before each major
command with the new "update_version". update_version is defined in setup.py,
and tries to get a version string from either darcs or git (or leaves the
existing _version.py alone if neither VC metadata is available).
Also clean up a tiny typo in verlib.py that messed up syntax hilighting.
2011-12-04 20:40:01 -08:00
Brian Warner
5fc9978826
setup.py: umask=022 for 'sdist', to avoid depending on environment
...
The new tarball-building buildslave had a bogus umask set, causing the 1.9.0
tarballs to be non-other-user-readable (go-rwx), which is a hassle for
packaging. (The umask was correct on the old buildslave, but it was moved to
a new host shortly before the release). This should make sure tarballs are
correct despite the host's setting.
Note to others: processes run under twistd get umask=077 unless you arrange
otherwise.
2011-11-09 10:36:32 -08:00
Brian Warner
a0432a4ec5
tahoe-lafs.org is now HTTPS-always. Update most URLs.
2011-10-29 18:39:46 +00:00
david-sarah
16e6bb2b73
Makefile and setup.py: remove setup.py commands that we no longer need, and their uses in the Makefile. Delete a stale and incorrect comment about updating _version.py. Also fix some coding style checks in the Makefile to operate on all source files.
2011-07-31 20:19:52 -07:00
david-sarah
2ebaa916df
Update the dependency on zope.interface to fix an incompatiblity between Nevow and zope.interface 3.6.4. fixes #1435
2011-07-21 16:49:41 -07:00
david-sarah
8b40826774
Update the dependency on Twisted to >= 10.1. This allows us to simplify some documentation: it's no longer necessary to install pywin32 on Windows, or apply a patch to Twisted in order to use the FTP frontend. fixes #1274 , #1438 . refs #1429
2011-07-21 16:36:58 -07:00
david-sarah
89581eb475
setup.py: don't make bin/tahoe.pyscript executable. fixes #1347
2011-01-30 17:58:09 -07:00
Zooko O'Whielacronx
299e8ad579
replace remaining .html docs with .rst docs
...
Remove install.html (long since deprecated).
Also replace some obsolete references to install.html with references to quickstart.rst.
Fix some broken internal references within docs/historical/historical_known_issues.txt.
Thanks to Ravi Pinjala and Patrick McDonald.
refs #1227
2011-05-10 12:16:50 -07:00
Zooko O'Whielacronx
2ed6019f78
setup: comment out the setup_requires on setuptools_darcs in order to work-around distribute bug 55
...
Note that we still inject the setuptools_darcs egg at the beginning of setup.py, which makes the setuptools_darcs plugin work when building dists from tahoe-lafs source so those dists have all of the needed files.
http://bitbucket.org/tarek/distribute/issue/55/revision-control-plugin-automatically-installed-as-a-build-dependency-is-not-present-when-another-build-dependency-is-being
2011-01-30 16:04:20 -08:00
Zooko O'Whielacronx
c1ec785b48
docs: edit running.html, change " http://allmydata.org " to " http://tahoe-lafs.org " in NEWS and README.txt, add Josh Wilcox to CREDITS for his contribution of doc patches
2011-01-28 07:07:00 -08:00
david-sarah
3c161c9a96
Makefile, setup.py: add more source files to pyflakes target and fix their warnings.
2011-01-21 18:07:52 -08:00
david-sarah
6d6f0edc36
Remove obsolete and bit-rotted 'setup.py check-auto-deps' command. Building and running bin/tahoe is a more thorough check.
2011-01-21 18:00:51 -08:00
david-sarah
8b94125b00
Make 'setup.py trial' and 'setup.py test' pass --version-and-path to bin/tahoe by default.
2011-01-21 00:03:28 -08:00
Zooko O'Whielacronx
d34e838c0c
setup: increase version number requirement on darcsver from >= 1.7.1 to >= 1.7.2
2011-01-20 21:30:38 -08:00
david-sarah
999339ed4e
setup.py: add descriptions for some of the setup commands. ref #1306
2011-01-19 15:33:05 -08:00
david-sarah
0693181613
setup.py: create bin/tahoe.pyscript on Unix as well as Windows for consistency, and to reduce conditional code. ref #1306
2011-01-19 15:31:45 -08:00
david-sarah
7e413d4fa4
Change 'setup.py trial' and 'setup.py test' to use 'bin/tahoe debug trial'. refs #1296
2011-01-18 18:45:32 -08:00
david-sarah
420aadd95e
Make 'mock' a run-time rather than setup-time dependency. This is necessary in order for 'tahoe debug trial' to work. refs #1296
2011-01-18 12:51:14 -08:00
david-sarah
4cba75e000
setup: load the setuptools_darcs-1.2.12.egg that is bundled in the root of the source tree at setup.py time, and setup_require it. This is in order to make sure that its 'find all package data' plugin works to inform setuptools of all files which are under revision control, so that setuptools can include them in a distribution. By the way, this is ugly and horrible. refs #1054
2011-01-17 22:54:45 -08:00
david-sarah
33786a6d55
Attempt to fix test-with-fake-dist build step.
2011-01-14 18:26:51 -08:00
david-sarah
eb9b822079
setup.py: add Python 2.7 trove classifier.
2011-01-08 13:12:12 -08:00
Zooko O'Whielacronx
3acbf8818c
setup: require the latest version of darcsver
2010-11-22 18:12:18 -08:00
Zooko O'Whielacronx
50f8c37a2b
setup: when testing, set the __requires__ as precisely as possible even if the version of this particular build of Tahoe-LAFS is not yet known (addresses test failure ref #1190 , #1233 )
2010-11-18 23:40:43 -08:00
Zooko O'Whielacronx
e03206cbdf
setup: specify that the version file must go into src/allmydata/_version.py . fixes #1259
2010-11-13 23:40:40 -08:00
david-sarah
306ec02c1d
setup.py: fix a bug in the check for whether we are running 'trial' or 'test', that affected zooko's test for #1233 . refs #1233
2010-11-05 14:54:15 -08: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
Zooko O'Whielacronx
0c6bb0178b
setup: use execfile to access _auto_deps.py in its proper location of src/allmydata/ instead of copying it into place when setup.py is executed
2010-09-05 22:57:14 -07:00
Zooko O'Whielacronx
cb83f2e41c
minor: remove unused interface declaration, change allmydata.org to tahoe-lafs.org in email address, fix wording in relnotes.txt
2010-09-30 08:37:08 -07:00
Zooko O'Whielacronx
aa19424c9f
setup: force the bundled version of darcsver to take precedence over any other version of darcsver
2010-09-21 00:32:58 -07:00
david-sarah
37b07a545f
Changes to Tahoe needed to work with new zetuptoolz (that does not use .exe wrappers on Windows), and to support Unicode arguments and stdout/stderr -- v5
2010-07-25 01:32:16 -07:00
Zooko O'Whielacronx
28ed28a0c2
setup: move the mock library from install_requires to tests_require (re: #1016 )
2010-06-08 22:05:42 -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
Zooko O'Whielacronx
05c04e67c9
setup: undo the previous patch to quote the executable in scripts
...
The problem isn't in the script, it is in the cli.exe script that is built by setuptools. This might be related to
http://bugs.python.org/issue6792
and
http://bugs.python.org/setuptools/issue2
Or it might be a separate issue involving the launcher.c code e.g. http://tahoe-lafs.org/trac/zetuptoolz/browser/launcher.c?rev=576#L210 and its handling of the interpreter name.
2010-06-03 19:52:04 -07:00
Zooko O'Whielacronx
ca910c2c3c
setup: put quotes around the path to executable in case it has spaces in it, when building a tahoe.exe for win32
2010-06-03 19:08:36 -07:00
david-sarah
02d0c4eb92
Document reason for the trialcoverage version requirement being 0.3.3.
2010-05-24 17:44:44 -07:00
david-sarah
f3c8c1c245
Downgrade version requirement for trialcoverage to 0.3.3 (from 0.3.10), to avoid needing to compile coveragepy on Windows.
2010-05-24 16:37:07 -07:00
Zooko O'Whielacronx
ba8f0c27f0
setup: upgrade bundled zetuptoolz to zetuptoolz-0.6c15dev and make it unpacked and directly loaded by setup.py
...
Also fix the relevant "make clean" target behavior.
2010-05-23 13:52:28 -07:00
Zooko O'Whielacronx
18922ac618
setup: if the string '--reporter=bwverbose-coverage' appears on sys.argv then you need trialcoverage
2010-05-21 05:22:26 -07:00
Zooko O'Whielacronx
82b9b91775
docs: update README, mv it to README.txt, update setup.py
2010-05-04 02:43:40 -07:00
Zooko O'Whielacronx
890ce9e7bb
setup: mark setup.py as having utf-8 encoding in it
2009-09-20 11:03:43 -07:00