File: really_exclude_readme.rst.patch

package info (click to toggle)
libedlib 1.2.7-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,532 kB
  • sloc: cpp: 2,002; sh: 304; python: 131; makefile: 89; ansic: 7
file content (16 lines) | stat: -rw-r--r-- 716 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Author: Andreas Tille <tille@debian.org>
Last-Update: 2021-10-13
Description: After trying lots of ways to specify EDLIB_OMIT_README_RST environtment variable
 None worked - thus patching it out here

--- a/bindings/python/setup.py
+++ b/bindings/python/setup.py
@@ -19,7 +19,7 @@ else:
 
 # Load README.rst into long description.
 # User can skip using README.rst as long description: EDLIB_OMIT_README_RST=1 python setup.py install
-OMIT_README_RST = os.getenv('EDLIB_OMIT_README_RST', False)
+OMIT_README_RST = True # os.getenv('EDLIB_OMIT_README_RST', False)
 if not OMIT_README_RST:
     here = os.path.abspath(os.path.dirname(__file__))
     with open(os.path.join(here, 'README.rst'), encoding='utf-8') as f: