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 - pip install flake8 pylint
script: script:
- flake8 pywal - flake8 pywal setup.py
- pylint pywal - pylint pywal setup.py

View File

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

View File

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