setup: add --multi-version to the "setup.py develop" command-line

fixes #530. I earlier tried this twice (see #530 for history) and then twice rolled it back due to some problems that arose. However, I didn't write down what the problems were in enough detail on the ticket that I can tell today whether those problems are still issues, so here goes the third attempt. (I did write down on the ticket that it would not create site.py or .pth files in the target directory with --multi-version mode, but I didn't explain why *that* was a problem.)
This commit is contained in:
Zooko O'Whielacronx 2010-10-05 11:23:50 -07:00
parent 0c6bb0178b
commit 98ffbfb31f
2 changed files with 4 additions and 1 deletions

View File

@ -37,7 +37,7 @@ find_links=misc/dependencies tahoe-deps ../tahoe-deps
# (See http://tahoe-lafs.org/trac/tahoe-lafs/ticket/142 .)
[aliases]
build = darcsver --count-all-patches develop --prefix=support make_executable build
build = darcsver --count-all-patches develop --multi-version --prefix=support make_executable build
test = darcsver --count-all-patches develop --prefix=support make_executable build trial
sdist = darcsver --count-all-patches sdist
install = darcsver --count-all-patches install

View File

@ -14,6 +14,9 @@ class CreateKeyGeneratorOptions(BasedirMixin, BaseOptions):
keygen_tac = """
# -*- python -*-
import pkg_resources
pkg_resources.require('allmydata-tahoe')
from allmydata import key_generator
from twisted.application import service