mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-02-26 23:21:14 +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
|
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"]
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user