General: Changes

This commit is contained in:
Dylan Araps 2017-06-26 10:23:43 +10:00
parent 358a2d3a9f
commit eab524f372
3 changed files with 13 additions and 7 deletions

View File

@ -6,5 +6,5 @@ install:
- pip install flake8 pylint
script:
- flake8 pywal
- pylint pywal
- flake8 pywal setup.py
- pylint pywal setup.py

View File

@ -576,3 +576,7 @@ def main():
# This saves 10ms.
# pylint: disable=W0212
# os._exit(0)
if __name__ == "__main__":
main()

View File

@ -1,8 +1,8 @@
"""wal - setup.py"""
from setuptools import setup
import pywal
DESC = (
"View the DOCS at: https://github.com/dylanaraps/pywal\n\n"
"Pypi doesn't like markdown OR rst with anchor links so "
@ -10,19 +10,21 @@ DESC = (
)
DESC = "".join(DESC)
version = pywal.__version__
download_url = f"https://github.com/dylanaraps/pywal/archive/{version}.tar.gz"
VERSION = pywal.__version__
DOWNLOAD_URL = f"https://github.com/dylanaraps/pywal/archive/{VERSION}.tar.gz"
setup(
name="pywal",
version=version,
version=VERSION,
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/pywal",
download_url=download_url,
download_url=DOWNLOAD_URL,
classifiers=[
"Environment :: X11 Applications",
"License :: OSI Approved :: MIT License",