pywal/setup.py

40 lines
1.2 KiB
Python
Raw Permalink Normal View History

2017-06-20 10:42:47 +00:00
"""wal - setup.py"""
2019-09-27 17:37:23 +00:00
import sys
2019-09-27 17:44:51 +00:00
import setuptools
try:
import pywal
except ImportError:
2017-08-09 14:44:43 +00:00
print("error: pywal requires Python 3.5 or greater.")
2019-09-27 17:37:23 +00:00
sys.exit(1)
2017-06-22 04:29:26 +00:00
2018-03-18 05:09:34 +00:00
LONG_DESC = open('README.md').read()
VERSION = pywal.__version__
DOWNLOAD = "https://github.com/dylanaraps/pywal/archive/%s.tar.gz" % VERSION
2017-06-26 00:23:43 +00:00
2017-07-06 11:18:34 +00:00
setuptools.setup(
2017-06-22 04:10:44 +00:00
name="pywal",
2017-06-26 00:23:43 +00:00
version=VERSION,
2017-06-20 10:42:47 +00:00
author="Dylan Araps",
author_email="dylan.araps@gmail.com",
2018-05-25 06:10:57 +00:00
description="Generate and change color-schemes on the fly",
2018-03-18 05:11:38 +00:00
long_description_content_type="text/markdown",
2017-07-25 06:22:15 +00:00
long_description=LONG_DESC,
2018-01-02 00:20:24 +00:00
keywords="wal colorscheme terminal-emulators changing-colorschemes",
2017-06-20 10:42:47 +00:00
license="MIT",
2017-06-23 23:30:05 +00:00
url="https://github.com/dylanaraps/pywal",
download_url=DOWNLOAD,
2017-06-22 13:19:28 +00:00
classifiers=[
"Environment :: X11 Applications",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
2017-08-12 08:44:00 +00:00
"Programming Language :: Python :: 3.5",
2017-06-22 13:19:28 +00:00
"Programming Language :: Python :: 3.6",
],
2017-06-27 00:43:23 +00:00
packages=["pywal"],
entry_points={"console_scripts": ["wal=pywal.__main__:main"]},
2017-08-12 08:44:00 +00:00
python_requires=">=3.5",
2017-06-27 01:53:40 +00:00
test_suite="tests",
2018-01-02 00:20:24 +00:00
include_package_data=True,
zip_safe=False)