civisanalytics / civis-python

Civis API Python Client
BSD 3-Clause "New" or "Revised" License
34 stars 26 forks source link

Fix readme and setup.py to appease twine #373

Closed jacksonllee closed 4 years ago

jacksonllee commented 4 years ago

We were not able to build distributions with twine for a new release, because twine doesn't allow duplicate references in the reStructuredText-formated README (not sure why this didn't come up before for previous releases, but I don't think we're interested in digging into this now). Also fixed is the missing long_descritption_content_type kwarg in setup.py, which twine threw a warning for.

With this PR, locally I tested it by building the source distribution and checking with twine again. Everything looks good now:

$ twine check dist/civis-1.13.0.tar.gz 
Checking dist/civis-1.13.0.tar.gz: PASSED