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