Refactored python code into library.

This commit is contained in:
Richard Neumann 2020-03-26 11:47:41 +01:00
parent aae65e3825
commit 309bafd5d1
7 changed files with 247 additions and 203 deletions

20
setup.py Executable file
View file

@ -0,0 +1,20 @@
#! /usr/bin/env python
from setuptools import setup
setup(
name='tabletmode',
version_format='{tag}',
setup_requires=['setuptools-git-version'],
author='Richard Neumann',
author_email='mail@richard-neumann.de',
python_requires='>=3.8',
packages=['tabletmode'],
scripts=['setsysmode', 'sysmoded'],
url='https://github.com/conqp/tablet-mode',
license='GPLv3',
description='Tablet mode switch for GNOME 3.',
long_description=open('README.md').read(),
long_description_content_type="text/markdown",
keywords='tablet mode tent convertible switch'
)