mirror of
https://github.com/dylanaraps/pywal.git
synced 2024-11-28 19:03:17 +01:00
pypi: sigh
This commit is contained in:
parent
8d34fde7a9
commit
ef83d19814
17
setup.py
17
setup.py
@ -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"]
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user