Trying to upload a package to pypi and it's all working except my long_description. It's meant to read through my README.rst but it is just blank on pypi. docutils rst2html isn't throwing any errors, setup.py --long-description prints out my readme, setup.py -check isn't producing errors either.
https://pypi.python.org/pypi/cryptocli
Setup.py:
# -*- coding: utf-8 -*-
from setuptools import setup, find_packages
with open('README.rst') as f:
readme = f.read()
with open('LICENSE') as f:
license = f.read()
setup(
name='cryptocli',
version='0.1.3',
description='CLI to query cryptocurrency value',
long_description=readme,
author='huwwp',
author_email='[email protected]',
url='https://github.com/huwwp/cryptocli',
license=license,
keywords='crypto cli query cryptocurrency bitcoin',
packages=find_packages(exclude=('tests', 'docs')),
install_requires=['requests'],
py_modules=['cryptocli'],
entry_points = {
'console_scripts': ['cryptocli = cryptocli:main'],
}
)
README.rst:
cryptocli
=========
Command line interface for querying current value of cryptocurrenies in
given fiat.
Usage
-----
Simple query
.. code:: bash
cryptocli BTC
2332.1
Accepts a comma seperated list of coins
.. code:: bash
cryptocli BTC,ETH,XMR
2404.39
218.53
40
Query with conversion to a given currency.
.. code:: bash
cryptocli BTC,ETH,XMR -c JPY
269731.76
24712.42
4563.86
Query with conversion and outputting a formatted string
.. code:: bash
cryptocli BTC,ETH,XMR -c JPY -f
BTCJPY:269679.75
ETHJPY:24718.85
XMRJPY:4562.29
Credits
-------
Uses the cryptocompare.com API
Tipjar
------
BTC: 15wNW29q7XAEbC8yus49CWvt91JkhcdkoW
Disclosure
----------
I am not liable for the accuracy of this program’s output nor actions
performed based upon it.