You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure if this is a setuptools or pypandoc issue:
python setup.py bdist_wheel on this setup.py running from Python 3.6.2 :: Anaconda, Inc. on Windows 7 only the 1st line is captured to {wheel}\{package}.dist-info\DESCRIPTION.rst. On python 2.7.5 and 2.7.14 the full file is captured.
Pypandoc excerpt from the script:
try:
from pypandoc import convert
def read_md(f): return convert(f, 'rst')
except ImportError:
print("warning: pypandoc module not found, "
"could not convert Markdown to RST")
long_description = read_md('README.md')
When run in interactive console the whole file is in the long_description variable
(C:\apps\Miniconda3) D:\github\leo-editor>python
Python 3.6.2 |Anaconda, Inc.| (default, Sep 19 2017, 08:03:39) [MSC v.1900 64 bi
t (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from pypandoc import convert
>>> def read_md(f): return convert(f, 'rst')
...
>>> long_description = read_md('README.md')
>>> long_description
'Leo 5.6 September 25, 2017\r\n\r\n`Leo <http://leoeditor.com/>`__ 5.6 is now av
...snip 15 console output lines...
\r\n- `A web page that displays .leo\r\n files <http://leoeditor.com/load-leo
.html>`__\r\n- `More links <http://leoeditor.com/leoLinks.html>`__\r\n'
The text was updated successfully, but these errors were encountered:
I'm not sure if this is a setuptools or pypandoc issue:
python setup.py bdist_wheel
on this setup.py running fromPython 3.6.2 :: Anaconda, Inc.
on Windows 7 only the 1st line is captured to{wheel}\{package}.dist-info\DESCRIPTION.rst
. On python 2.7.5 and 2.7.14 the full file is captured.Pypandoc excerpt from the script:
When run in interactive console the whole file is in the
long_description
variableThe text was updated successfully, but these errors were encountered: