ai2cm / fv3config

Manipulate FV3GFS run directories
Apache License 2.0
1 stars 0 forks source link

Packaging fv3config #120

Closed nbren12 closed 3 years ago

nbren12 commented 3 years ago

I am trying to prepare a release for pypi, but ran into this issue:

$ pip install twine
$ python setup.py sdist
$ twine check dist/*
Checking dist/fv3config-0.5.0.tar.gz: FAILED
  `long_description` has syntax errors in markup and would not be rendered on PyPI.
    line 38: Severe: Title level inconsistent:

    Breaking changes:
    ~~~~~~~~~~~~~~~~~
  warning: `long_description_content_type` missing. defaulting to `text/x-rst`.

I think there is some incorrect formatting in the rst files.

nbren12 commented 3 years ago

It works if long_description only contains the history or the readme, but not both. I don't think two top-level ==== headers are allowed in a single document.