pypi: sigh

This commit is contained in:
Dylan Araps 2017-06-22 14:45:58 +10:00
parent 8d34fde7a9
commit ef83d19814

View File

@ -2,24 +2,23 @@
from setuptools import setup
try:
import pypandoc
DESC = pypandoc.convert('README.md', 'rst')
DESC = DESC.replace("\r", "")
except(IOError, ImportError):
print("README convert to RST failed, using markdown.")
DESC = open('README.md').read()
DESC = (
"View the README at: https://github.com/dylanaraps/wal.py\n"
"Pypi doesn't like markdown OR rst with anchor links so "
"you'll have to view the documentation elsewhere.\n"
)
DESC = "".join(DESC)
setup(
name="pywal",
version="0.1.1",
version="0.1.2",
author="Dylan Araps",
author_email="dylan.araps@gmail.com",
description="🎨 Generate and change colorschemes on the fly",
long_description=DESC,
license="MIT",
url="https://github.com/dylanaraps/wal.py",
download_url="https://github.com/dylanaraps/wal.py/archive/0.1.1.tar.gz",
download_url="https://github.com/dylanaraps/wal.py/archive/0.1.2.tar.gz",
scripts=["wal"]
)