2017-06-20 12:42:47 +02:00
|
|
|
"""wal - setup.py"""
|
2017-07-06 13:18:34 +02:00
|
|
|
import setuptools
|
2017-07-07 02:23:26 +02:00
|
|
|
|
|
|
|
try:
|
|
|
|
import pywal
|
|
|
|
except (ImportError, SyntaxError):
|
2017-07-07 03:18:59 +02:00
|
|
|
print("error: pywal requires Python 3.6 or greater.")
|
|
|
|
quit(1)
|
2017-06-22 06:29:26 +02:00
|
|
|
|
2017-06-26 02:23:43 +02:00
|
|
|
|
2017-06-22 06:45:58 +02:00
|
|
|
DESC = (
|
2017-06-24 01:30:05 +02:00
|
|
|
"View the DOCS at: https://github.com/dylanaraps/pywal\n\n"
|
2017-06-22 06:45:58 +02:00
|
|
|
"Pypi doesn't like markdown OR rst with anchor links so "
|
|
|
|
"you'll have to view the documentation elsewhere.\n"
|
|
|
|
)
|
2017-06-26 02:23:43 +02:00
|
|
|
|
2017-06-26 04:09:35 +02:00
|
|
|
VERSION = pywal.__version__
|
2017-07-07 02:23:26 +02:00
|
|
|
DOWNLOAD = "https://github.com/dylanaraps/pywal/archive/%s.tar.gz" % VERSION
|
2017-06-26 02:23:43 +02:00
|
|
|
|
2017-06-22 06:29:26 +02:00
|
|
|
|
2017-07-06 13:18:34 +02:00
|
|
|
setuptools.setup(
|
2017-06-22 06:10:44 +02:00
|
|
|
name="pywal",
|
2017-06-26 02:23:43 +02:00
|
|
|
version=VERSION,
|
2017-06-20 12:42:47 +02:00
|
|
|
author="Dylan Araps",
|
|
|
|
author_email="dylan.araps@gmail.com",
|
2017-06-30 07:53:46 +02:00
|
|
|
description="Generate and change colorschemes on the fly",
|
2017-06-22 06:29:26 +02:00
|
|
|
long_description=DESC,
|
2017-06-20 12:42:47 +02:00
|
|
|
license="MIT",
|
2017-06-24 01:30:05 +02:00
|
|
|
url="https://github.com/dylanaraps/pywal",
|
2017-07-07 02:23:26 +02:00
|
|
|
download_url=DOWNLOAD,
|
2017-06-22 15:19:28 +02:00
|
|
|
classifiers=[
|
|
|
|
"Environment :: X11 Applications",
|
|
|
|
"License :: OSI Approved :: MIT License",
|
|
|
|
"Operating System :: POSIX :: Linux",
|
|
|
|
"Programming Language :: Python :: 3.6",
|
2017-06-25 18:53:53 +02:00
|
|
|
],
|
2017-06-27 02:43:23 +02:00
|
|
|
packages=["pywal"],
|
2017-06-25 18:53:53 +02:00
|
|
|
entry_points={
|
2017-06-27 02:33:30 +02:00
|
|
|
"console_scripts": ["wal=pywal.__main__:main"]
|
2017-06-25 18:53:53 +02:00
|
|
|
},
|
2017-06-27 09:24:27 +02:00
|
|
|
python_requires=">=3.6",
|
2017-06-27 03:53:40 +02:00
|
|
|
test_suite="tests",
|
2017-06-30 07:47:35 +02:00
|
|
|
include_package_data=True
|
2017-06-20 12:42:47 +02:00
|
|
|
)
|