Line 0
Link Here
|
|
|
1 |
--- Ft/Lib/DistExt/InstallText.py 2006-08-28 00:06:47.000000000 +0200 |
2 |
+++ Ft/Lib/DistExt/InstallText.py.port 2010-12-11 22:17:13.000000000 +0100 |
3 |
@@ -26,10 +26,10 @@ |
4 |
self.set_undefined_options('install', |
5 |
('install_docs', 'install_dir'), |
6 |
('force', 'force')) |
7 |
- |
8 |
+ portdocs = not os.environ.has_key('NOPORTDOCS') |
9 |
self.files = [ f for f in self.distribution.doc_files |
10 |
- if isinstance(f, Structures.File) ] |
11 |
- if self.distribution.license_file: |
12 |
+ if isinstance(f, Structures.File) and portdocs] |
13 |
+ if self.distribution.license_file and portdocs: |
14 |
self.files.append(Structures.File(self.distribution.license_file)) |
15 |
return |
16 |
|