Merge lp://staging/~gary/zc.recipe.testrunner/support-system-python into lp://staging/~gary/zc.recipe.testrunner/trunk
- support-system-python
- Merge into trunk
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~gary/zc.recipe.testrunner/support-system-python |
Merge into: | lp://staging/~gary/zc.recipe.testrunner/trunk |
Diff against target: | None lines |
To merge this branch: | bzr merge lp://staging/~gary/zc.recipe.testrunner/support-system-python |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis J. Lacoste (community) | Approve | ||
Jim Fulton | Pending | ||
Review via email:
|
Commit message
Description of the change
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Francis J. Lacoste (flacoste) wrote : | # |
On July 13, 2009, Gary Poster wrote:
> Gary Poster has proposed merging
> lp:~gary/zc.recipe.testrunner/support-system-python into
> lp:~gary/zc.recipe.testrunner/trunk.
>
> Requested reviews:
> Francis J. Lacoste (flacoste)
>
> Support the new zc.buildout 1.4.0+ include-
Apart this question:
> === modified file 'buildout.cfg'
> --- buildout.cfg 2007-01-24 15:58:29 +0000
> +++ buildout.cfg 2009-07-09 18:52:45 +0000
> @@ -1,6 +1,8 @@
> [buildout]
> parts = test
> develop = .
> + zc.buildout
> + zc.buildout/
Is this a change you want to commit? Is it usual to use zc.buildout as a
develop egg?
It looks good.
review approve
--
Francis J. Lacoste
<email address hidden>
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Gary Poster (gary) wrote : | # |
On Jul 13, 2009, at 5:33 PM, Francis J. Lacoste wrote:
> Review: Approve
> On July 13, 2009, Gary Poster wrote:
>> Gary Poster has proposed merging
>> lp:~gary/zc.recipe.testrunner/support-system-python into
>> lp:~gary/zc.recipe.testrunner/trunk.
>>
>> Requested reviews:
>> Francis J. Lacoste (flacoste)
>>
>> Support the new zc.buildout 1.4.0+ include-
>
> Apart this question:
>
>> === modified file 'buildout.cfg'
>> --- buildout.cfg 2007-01-24 15:58:29 +0000
>> +++ buildout.cfg 2009-07-09 18:52:45 +0000
>> @@ -1,6 +1,8 @@
>> [buildout]
>> parts = test
>> develop = .
>> + zc.buildout
>> + zc.buildout/
>
> Is this a change you want to commit? Is it usual to use zc.buildout
> as a
> develop egg?
>
> It looks good.
No, sorry I should have called that out. This is what I do during
development. Once there are releases for these dependencies, I'll
take out this clause before I merge. The same goes with zc.recipe.egg
and z3c.recipe.
Thanks
Gary
Unmerged revisions
- 64. By Gary Poster
-
add CHANGES
- 63. By gary
-
basic updates to get tests to pass, and to honor new setting.
- 62. By gary
-
branch to support coordinating with zc.buildout changes
Preview Diff
1 | === modified file 'CHANGES.txt' | |||
2 | --- CHANGES.txt 2009-03-23 17:11:02 +0000 | |||
3 | +++ CHANGES.txt 2009-07-11 19:13:56 +0000 | |||
4 | @@ -2,6 +2,12 @@ | |||
5 | 2 | Change History | 2 | Change History |
6 | 3 | ************** | 3 | ************** |
7 | 4 | 4 | ||
8 | 5 | 1.3.0 (unreleased) | ||
9 | 6 | ================== | ||
10 | 7 | |||
11 | 8 | - Add support for zc.buildout 1.4.0, specifically the changes to handling | ||
12 | 9 | site-packages in script paths. | ||
13 | 10 | |||
14 | 5 | 1.2.0 (2009-03-23) | 11 | 1.2.0 (2009-03-23) |
15 | 6 | ================== | 12 | ================== |
16 | 7 | 13 | ||
17 | 8 | 14 | ||
18 | === modified file 'buildout.cfg' | |||
19 | --- buildout.cfg 2007-01-24 15:58:29 +0000 | |||
20 | +++ buildout.cfg 2009-07-09 18:52:45 +0000 | |||
21 | @@ -1,6 +1,8 @@ | |||
22 | 1 | [buildout] | 1 | [buildout] |
23 | 2 | parts = test | 2 | parts = test |
24 | 3 | develop = . | 3 | develop = . |
25 | 4 | zc.buildout | ||
26 | 5 | zc.buildout/zc.recipe.egg_ | ||
27 | 4 | 6 | ||
28 | 5 | [test] | 7 | [test] |
29 | 6 | recipe = zc.recipe.testrunner | 8 | recipe = zc.recipe.testrunner |
30 | 7 | 9 | ||
31 | === modified file 'setup.py' | |||
32 | --- setup.py 2009-03-28 14:10:32 +0000 | |||
33 | +++ setup.py 2009-07-09 18:52:45 +0000 | |||
34 | @@ -29,10 +29,10 @@ | |||
35 | 29 | include_package_data = True, | 29 | include_package_data = True, |
36 | 30 | package_dir = {'':'src'}, | 30 | package_dir = {'':'src'}, |
37 | 31 | namespace_packages = ['zc', 'zc.recipe'], | 31 | namespace_packages = ['zc', 'zc.recipe'], |
39 | 32 | install_requires = ['zc.buildout >=1.2.0', | 32 | install_requires = ['zc.buildout >=1.4.0dev', |
40 | 33 | 'zope.testing >=3.6.0', | 33 | 'zope.testing >=3.6.0', |
41 | 34 | 'setuptools', | 34 | 'setuptools', |
43 | 35 | 'zc.recipe.egg >=1.2.0', | 35 | 'zc.recipe.egg >=1.3.0dev', |
44 | 36 | ], | 36 | ], |
45 | 37 | test_suite = name+'.tests.test_suite', | 37 | test_suite = name+'.tests.test_suite', |
46 | 38 | entry_points = {'zc.buildout': ['default = %s:TestRunner' % name]}, | 38 | entry_points = {'zc.buildout': ['default = %s:TestRunner' % name]}, |
47 | 39 | 39 | ||
48 | === modified file 'src/zc/recipe/testrunner/README.txt' | |||
49 | --- src/zc/recipe/testrunner/README.txt 2009-03-19 19:43:01 +0000 | |||
50 | +++ src/zc/recipe/testrunner/README.txt 2009-07-09 18:52:45 +0000 | |||
51 | @@ -235,17 +235,18 @@ | |||
52 | 235 | 235 | ||
53 | 236 | >>> print system(os.path.join(sample_buildout, 'bin', 'buildout') + ' -q'), | 236 | >>> print system(os.path.join(sample_buildout, 'bin', 'buildout') + ' -q'), |
54 | 237 | 237 | ||
56 | 238 | >>> cat(sample_buildout, 'bin', 'testdemo') | 238 | >>> cat(sample_buildout, 'bin', 'testdemo') # doctest: +ELLIPSIS |
57 | 239 | #!/usr/local/bin/python2.4 | 239 | #!/usr/local/bin/python2.4 |
58 | 240 | <BLANKLINE> | 240 | <BLANKLINE> |
59 | 241 | import sys | 241 | import sys |
67 | 242 | sys.path[0:0] = [ | 242 | sys.path[:] = [ |
68 | 243 | '/sample-buildout/demo', | 243 | '/sample-buildout/demo', |
69 | 244 | '/sample-buildout/eggs/zope.testing-3.0-py2.3.egg', | 244 | '/sample-buildout/eggs/zope.testing-3.0-py2.3.egg', |
70 | 245 | '/sample-buildout/eggs/zope.interface-3.4.1-py2.4.egg', | 245 | '/sample-buildout/eggs/zope.interface-3.4.1-py2.4.egg', |
71 | 246 | '/sample-buildout/eggs/setuptools-0.6-py1.3.egg', | 246 | '/sample-buildout/eggs/setuptools-0.6-py1.3.egg', |
72 | 247 | '/usr/local/zope/lib/python', | 247 | '/usr/local/zope/lib/python', |
73 | 248 | ] | 248 | ... |
74 | 249 | ] | ||
75 | 249 | <BLANKLINE> | 250 | <BLANKLINE> |
76 | 250 | import os | 251 | import os |
77 | 251 | sys.argv[0] = os.path.abspath(sys.argv[0]) | 252 | sys.argv[0] = os.path.abspath(sys.argv[0]) |
78 | @@ -278,17 +279,18 @@ | |||
79 | 278 | 279 | ||
80 | 279 | >>> print system(os.path.join(sample_buildout, 'bin', 'buildout') + ' -q'), | 280 | >>> print system(os.path.join(sample_buildout, 'bin', 'buildout') + ' -q'), |
81 | 280 | 281 | ||
83 | 281 | >>> cat(sample_buildout, 'bin', 'testdemo') | 282 | >>> cat(sample_buildout, 'bin', 'testdemo') # doctest: +ELLIPSIS |
84 | 282 | #!/usr/local/bin/python2.4 | 283 | #!/usr/local/bin/python2.4 |
85 | 283 | <BLANKLINE> | 284 | <BLANKLINE> |
86 | 284 | import sys | 285 | import sys |
94 | 285 | sys.path[0:0] = [ | 286 | sys.path[:] = [ |
95 | 286 | '/sample-buildout/demo', | 287 | '/sample-buildout/demo', |
96 | 287 | '/sample-buildout/eggs/zope.testing-3.0-py2.3.egg', | 288 | '/sample-buildout/eggs/zope.testing-3.0-py2.3.egg', |
97 | 288 | '/sample-buildout/eggs/zope.interface-3.4.1-py2.4.egg', | 289 | '/sample-buildout/eggs/zope.interface-3.4.1-py2.4.egg', |
98 | 289 | '/sample-buildout/eggs/setuptools-0.6-py1.3.egg', | 290 | '/sample-buildout/eggs/setuptools-0.6-py1.3.egg', |
99 | 290 | '/usr/local/zope/lib/python', | 291 | '/usr/local/zope/lib/python', |
100 | 291 | ] | 292 | ... |
101 | 293 | ] | ||
102 | 292 | <BLANKLINE> | 294 | <BLANKLINE> |
103 | 293 | import os | 295 | import os |
104 | 294 | sys.argv[0] = os.path.abspath(sys.argv[0]) | 296 | sys.argv[0] = os.path.abspath(sys.argv[0]) |
105 | @@ -333,17 +335,18 @@ | |||
106 | 333 | 335 | ||
107 | 334 | >>> print system(os.path.join(sample_buildout, 'bin', 'buildout') + ' -q'), | 336 | >>> print system(os.path.join(sample_buildout, 'bin', 'buildout') + ' -q'), |
108 | 335 | 337 | ||
110 | 336 | >>> cat(sample_buildout, 'bin', 'testdemo') | 338 | >>> cat(sample_buildout, 'bin', 'testdemo') # doctest: +ELLIPSIS |
111 | 337 | #!/usr/local/bin/python2.4 | 339 | #!/usr/local/bin/python2.4 |
112 | 338 | <BLANKLINE> | 340 | <BLANKLINE> |
113 | 339 | import sys | 341 | import sys |
121 | 340 | sys.path[0:0] = [ | 342 | sys.path[:] = [ |
122 | 341 | '/sample-buildout/demo', | 343 | '/sample-buildout/demo', |
123 | 342 | '/sample-buildout/eggs/zope.testing-3.0-py2.4.egg', | 344 | '/sample-buildout/eggs/zope.testing-3.0-py2.4.egg', |
124 | 343 | '/sample-buildout/eggs/zope.interface-3.4.1-py2.4.egg', | 345 | '/sample-buildout/eggs/zope.interface-3.4.1-py2.4.egg', |
125 | 344 | '/sample-buildout/eggs/setuptools-0.6-py1.3.egg', | 346 | '/sample-buildout/eggs/setuptools-0.6-py1.3.egg', |
126 | 345 | '/usr/local/zope/lib/python', | 347 | '/usr/local/zope/lib/python', |
127 | 346 | ] | 348 | ... |
128 | 349 | ] | ||
129 | 347 | <BLANKLINE> | 350 | <BLANKLINE> |
130 | 348 | import os | 351 | import os |
131 | 349 | sys.argv[0] = os.path.abspath(sys.argv[0]) | 352 | sys.argv[0] = os.path.abspath(sys.argv[0]) |
132 | @@ -395,7 +398,6 @@ | |||
133 | 395 | Failure in test test (demo.tests.DemoTests) | 398 | Failure in test test (demo.tests.DemoTests) |
134 | 396 | Traceback (most recent call last): | 399 | Traceback (most recent call last): |
135 | 397 | ... | 400 | ... |
136 | 398 | raise self.failureException, \ | ||
137 | 399 | AssertionError: '42' != '23' | 401 | AssertionError: '42' != '23' |
138 | 400 | <BLANKLINE> | 402 | <BLANKLINE> |
139 | 401 | <BLANKLINE> | 403 | <BLANKLINE> |
140 | @@ -431,16 +433,17 @@ | |||
141 | 431 | 433 | ||
142 | 432 | >>> print system(os.path.join(sample_buildout, 'bin', 'buildout') + ' -q'), | 434 | >>> print system(os.path.join(sample_buildout, 'bin', 'buildout') + ' -q'), |
143 | 433 | 435 | ||
145 | 434 | >>> cat(sample_buildout, 'bin', 'testdemo') | 436 | >>> cat(sample_buildout, 'bin', 'testdemo') # doctest: +ELLIPSIS |
146 | 435 | #!/usr/local/bin/python2.4 | 437 | #!/usr/local/bin/python2.4 |
147 | 436 | <BLANKLINE> | 438 | <BLANKLINE> |
148 | 437 | import sys | 439 | import sys |
155 | 438 | sys.path[0:0] = [ | 440 | sys.path[:] = [ |
156 | 439 | '/sample-buildout/demo', | 441 | '/sample-buildout/demo', |
157 | 440 | '/sample-buildout/eggs/zope.testing-3.0-py2.3.egg', | 442 | '/sample-buildout/eggs/zope.testing-3.0-py2.3.egg', |
158 | 441 | '/sample-buildout/eggs/zope.interface-3.4.1-py2.4.egg', | 443 | '/sample-buildout/eggs/zope.interface-3.4.1-py2.4.egg', |
159 | 442 | '/sample-buildout/eggs/setuptools-0.6-py1.3.egg', | 444 | '/sample-buildout/eggs/setuptools-0.6-py1.3.egg', |
160 | 443 | ] | 445 | ... |
161 | 446 | ] | ||
162 | 444 | <BLANKLINE> | 447 | <BLANKLINE> |
163 | 445 | import os | 448 | import os |
164 | 446 | sys.argv[0] = os.path.abspath(sys.argv[0]) | 449 | sys.argv[0] = os.path.abspath(sys.argv[0]) |
165 | @@ -487,17 +490,18 @@ | |||
166 | 487 | 490 | ||
167 | 488 | >>> print system(os.path.join(sample_buildout, 'bin', 'buildout') + ' -q'), | 491 | >>> print system(os.path.join(sample_buildout, 'bin', 'buildout') + ' -q'), |
168 | 489 | 492 | ||
170 | 490 | >>> cat(sample_buildout, 'bin', 'testdemo') | 493 | >>> cat(sample_buildout, 'bin', 'testdemo') # doctest: +ELLIPSIS |
171 | 491 | #!/usr/local/bin/python2.4 | 494 | #!/usr/local/bin/python2.4 |
172 | 492 | <BLANKLINE> | 495 | <BLANKLINE> |
173 | 493 | import sys | 496 | import sys |
181 | 494 | sys.path[0:0] = [ | 497 | sys.path[:] = [ |
182 | 495 | '/sample-buildout/demo', | 498 | '/sample-buildout/demo', |
183 | 496 | '/sample-buildout/eggs/zope.testing-3.0-py2.3.egg', | 499 | '/sample-buildout/eggs/zope.testing-3.0-py2.3.egg', |
184 | 497 | '/sample-buildout/eggs/zope.interface-3.4.1-py2.4.egg', | 500 | '/sample-buildout/eggs/zope.interface-3.4.1-py2.4.egg', |
185 | 498 | '/sample-buildout/eggs/setuptools-0.6-py1.3.egg', | 501 | '/sample-buildout/eggs/setuptools-0.6-py1.3.egg', |
186 | 499 | '/usr/local/zope/lib/python', | 502 | '/usr/local/zope/lib/python', |
187 | 500 | ] | 503 | ... |
188 | 504 | ] | ||
189 | 501 | <BLANKLINE> | 505 | <BLANKLINE> |
190 | 502 | import os | 506 | import os |
191 | 503 | sys.argv[0] = os.path.abspath(sys.argv[0]) | 507 | sys.argv[0] = os.path.abspath(sys.argv[0]) |
192 | @@ -535,17 +539,18 @@ | |||
193 | 535 | 539 | ||
194 | 536 | >>> print system(os.path.join(sample_buildout, 'bin', 'buildout') + ' -q'), | 540 | >>> print system(os.path.join(sample_buildout, 'bin', 'buildout') + ' -q'), |
195 | 537 | 541 | ||
197 | 538 | >>> cat(sample_buildout, 'bin', 'testdemo') | 542 | >>> cat(sample_buildout, 'bin', 'testdemo') # doctest: +ELLIPSIS |
198 | 539 | #!/usr/local/bin/python2.4 | 543 | #!/usr/local/bin/python2.4 |
199 | 540 | <BLANKLINE> | 544 | <BLANKLINE> |
200 | 541 | import sys | 545 | import sys |
208 | 542 | sys.path[0:0] = [ | 546 | sys.path[:] = [ |
209 | 543 | '/sample-buildout/demo', | 547 | '/sample-buildout/demo', |
210 | 544 | '/sample-buildout/eggs/zope.testing-3.0-py2.3.egg', | 548 | '/sample-buildout/eggs/zope.testing-3.0-py2.3.egg', |
211 | 545 | '/sample-buildout/eggs/zope.interface-3.4.1-py2.4.egg', | 549 | '/sample-buildout/eggs/zope.interface-3.4.1-py2.4.egg', |
212 | 546 | '/sample-buildout/eggs/setuptools-0.6-py1.3.egg', | 550 | '/sample-buildout/eggs/setuptools-0.6-py1.3.egg', |
213 | 547 | '/usr/local/zope/lib/python', | 551 | '/usr/local/zope/lib/python', |
214 | 548 | ] | 552 | ... |
215 | 553 | ] | ||
216 | 549 | <BLANKLINE> | 554 | <BLANKLINE> |
217 | 550 | import os | 555 | import os |
218 | 551 | sys.argv[0] = os.path.abspath(sys.argv[0]) | 556 | sys.argv[0] = os.path.abspath(sys.argv[0]) |
219 | @@ -582,24 +587,25 @@ | |||
220 | 582 | 587 | ||
221 | 583 | >>> print system(os.path.join(sample_buildout, 'bin', 'buildout') + ' -q'), | 588 | >>> print system(os.path.join(sample_buildout, 'bin', 'buildout') + ' -q'), |
222 | 584 | 589 | ||
224 | 585 | >>> cat(sample_buildout, 'bin', 'testdemo') | 590 | >>> cat(sample_buildout, 'bin', 'testdemo') # doctest: +ELLIPSIS |
225 | 586 | #!/usr/local/bin/python2.4 | 591 | #!/usr/local/bin/python2.4 |
226 | 587 | <BLANKLINE> | 592 | <BLANKLINE> |
227 | 588 | import os | 593 | import os |
228 | 589 | <BLANKLINE> | 594 | <BLANKLINE> |
229 | 590 | join = os.path.join | 595 | join = os.path.join |
231 | 591 | base = os.path.dirname(__file__) | 596 | base = os.path.dirname(os.path.abspath(__file__)) |
232 | 592 | base = os.path.dirname(base) | 597 | base = os.path.dirname(base) |
233 | 593 | <BLANKLINE> | 598 | <BLANKLINE> |
234 | 594 | import sys | 599 | import sys |
243 | 595 | sys.path[0:0] = [ | 600 | sys.path[:] = [ |
244 | 596 | join(base, 'demo'), | 601 | join(base, 'demo'), |
245 | 597 | join(base, 'eggs/zope.testing-3.7.1-py2.4.egg'), | 602 | join(base, 'eggs/zope.testing-3.7.1-py2.4.egg'), |
246 | 598 | join(base, 'eggs/zope.interface-3.5.1-py2.4-linux-i686.egg'), | 603 | join(base, 'eggs/zope.interface-3.5.1-py2.4-linux-i686.egg'), |
247 | 599 | join(base, 'eggs/setuptools-0.6c9-py2.4.egg'), | 604 | join(base, 'eggs/setuptools-0.6c9-py2.4.egg'), |
248 | 600 | '/usr/local/zope/lib/python', | 605 | '/usr/local/zope/lib/python', |
249 | 601 | join(base, 'sources'), | 606 | join(base, 'sources'), |
250 | 602 | ] | 607 | ... |
251 | 608 | ] | ||
252 | 603 | <BLANKLINE> | 609 | <BLANKLINE> |
253 | 604 | import os | 610 | import os |
254 | 605 | sys.argv[0] = os.path.abspath(sys.argv[0]) | 611 | sys.argv[0] = os.path.abspath(sys.argv[0]) |
255 | @@ -632,24 +638,25 @@ | |||
256 | 632 | 638 | ||
257 | 633 | >>> print system(os.path.join(sample_buildout, 'bin', 'buildout') + ' -q'), | 639 | >>> print system(os.path.join(sample_buildout, 'bin', 'buildout') + ' -q'), |
258 | 634 | 640 | ||
260 | 635 | >>> cat(sample_buildout, 'bin', 'testdemo') | 641 | >>> cat(sample_buildout, 'bin', 'testdemo') # doctest: +ELLIPSIS |
261 | 636 | #!/usr/local/bin/python2.4 | 642 | #!/usr/local/bin/python2.4 |
262 | 637 | <BLANKLINE> | 643 | <BLANKLINE> |
263 | 638 | import os | 644 | import os |
264 | 639 | <BLANKLINE> | 645 | <BLANKLINE> |
265 | 640 | join = os.path.join | 646 | join = os.path.join |
267 | 641 | base = os.path.dirname(__file__) | 647 | base = os.path.dirname(os.path.abspath(__file__)) |
268 | 642 | base = os.path.dirname(base) | 648 | base = os.path.dirname(base) |
269 | 643 | <BLANKLINE> | 649 | <BLANKLINE> |
270 | 644 | import sys | 650 | import sys |
279 | 645 | sys.path[0:0] = [ | 651 | sys.path[:] = [ |
280 | 646 | join(base, 'demo'), | 652 | join(base, 'demo'), |
281 | 647 | join(base, 'eggs/zope.testing-3.7.1-py2.4.egg'), | 653 | join(base, 'eggs/zope.testing-3.7.1-py2.4.egg'), |
282 | 648 | join(base, 'eggs/zope.interface-3.5.1-py2.4-linux-i686.egg'), | 654 | join(base, 'eggs/zope.interface-3.5.1-py2.4-linux-i686.egg'), |
283 | 649 | join(base, 'eggs/setuptools-0.6c9-py2.4.egg'), | 655 | join(base, 'eggs/setuptools-0.6c9-py2.4.egg'), |
284 | 650 | '/usr/local/zope/lib/python', | 656 | '/usr/local/zope/lib/python', |
285 | 651 | join(base, 'sources'), | 657 | join(base, 'sources'), |
286 | 652 | ] | 658 | ... |
287 | 659 | ] | ||
288 | 653 | <BLANKLINE> | 660 | <BLANKLINE> |
289 | 654 | import os | 661 | import os |
290 | 655 | sys.argv[0] = os.path.abspath(sys.argv[0]) | 662 | sys.argv[0] = os.path.abspath(sys.argv[0]) |
291 | 656 | 663 | ||
292 | === modified file 'src/zc/recipe/testrunner/__init__.py' | |||
293 | --- src/zc/recipe/testrunner/__init__.py 2009-03-19 19:43:01 +0000 | |||
294 | +++ src/zc/recipe/testrunner/__init__.py 2009-07-09 18:52:45 +0000 | |||
295 | @@ -37,6 +37,14 @@ | |||
296 | 37 | buildout['buildout']['parts-directory'], name) | 37 | buildout['buildout']['parts-directory'], name) |
297 | 38 | self.egg = zc.recipe.egg.Egg(buildout, name, options) | 38 | self.egg = zc.recipe.egg.Egg(buildout, name, options) |
298 | 39 | 39 | ||
299 | 40 | include_site_packages = self.options.setdefault( | ||
300 | 41 | 'include-site-packages', | ||
301 | 42 | self.buildout['buildout'].get('include-site-packages', 'true')) | ||
302 | 43 | if include_site_packages not in ('true', 'false'): | ||
303 | 44 | self._error('Invalid value for include-site-packages option: %s', | ||
304 | 45 | include_site_packages) | ||
305 | 46 | self.include_site_packages = (include_site_packages=='true') | ||
306 | 47 | |||
307 | 40 | def install(self): | 48 | def install(self): |
308 | 41 | options = self.options | 49 | options = self.options |
309 | 42 | dest = [] | 50 | dest = [] |
310 | @@ -90,6 +98,7 @@ | |||
311 | 90 | for p in test_paths) | 98 | for p in test_paths) |
312 | 91 | +' ]'), | 99 | +' ]'), |
313 | 92 | initialization = initialization, | 100 | initialization = initialization, |
314 | 101 | include_site_packages=self.include_site_packages, | ||
315 | 93 | relative_paths = self.egg._relative_paths, | 102 | relative_paths = self.egg._relative_paths, |
316 | 94 | )) | 103 | )) |
317 | 95 | 104 |
Support the new zc.buildout 1.4.0+ include- site-packages option.