Return the text of a legacy DESCRIPTION.rst file.
(location)
| 1929 | |
| 1930 | |
| 1931 | def get_legacy_description(location): |
| 1932 | """ |
| 1933 | Return the text of a legacy DESCRIPTION.rst file. |
| 1934 | """ |
| 1935 | location = os.path.join(location, 'DESCRIPTION.rst') |
| 1936 | if os.path.exists(location): |
| 1937 | with open(location) as i: |
| 1938 | return i.read() |
| 1939 | |
| 1940 | |
| 1941 | def get_declared_license(metainfo): |
no test coverage detected