xiwal

Generate terminal color schemes
git clone https://git.ce9e.org/xiwal.git

commit
5552f891a959763fa4130662495c62a8252fc5d7
parent
1b225201d1f08bfb817602a0281d19ac615224e0
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2019-11-15 08:12
add setup.py

Diffstat

A setup.py 16 ++++++++++++++++
M wal/__main__.py 6 +++++-

2 files changed, 21 insertions, 1 deletions


diff --git a/setup.py b/setup.py

@@ -0,0 +1,16 @@
   -1     1 from setuptools import find_packages
   -1     2 from setuptools import setup
   -1     3 
   -1     4 
   -1     5 setup(
   -1     6     name='wal',
   -1     7     version='0.0.0',
   -1     8     description='Generate terminal color schemes',
   -1     9     author='Tobias Bengfort',
   -1    10     author_email='tobias.bengfort@posteo.de',
   -1    11     packages=find_packages(),
   -1    12     entry_points={'console_scripts': [
   -1    13         'wal=wal.__main__:main',
   -1    14     ]},
   -1    15     license='MIT',
   -1    16 )

diff --git a/wal/__main__.py b/wal/__main__.py

@@ -14,7 +14,7 @@ def parse_args():
   14    14 	return parser.parse_args()
   15    15 
   16    16 
   17    -1 if __name__ == '__main__':
   -1    17 def main():
   18    18 	args = parse_args()
   19    19 
   20    20 	colors = []
@@ -30,3 +30,7 @@ if __name__ == '__main__':
   30    30 	print(';'.join(scheme))
   31    31 	term.palette()
   32    32 	term.apply(scheme)
   -1    33 
   -1    34 
   -1    35 if __name__ == '__main__':
   -1    36 	main()