mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 00:24:13 +00:00
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:
parent
0c6bb0178b
commit
98ffbfb31f
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user