From 6f262652ff51e4987a30195480366b48be5270e7 Mon Sep 17 00:00:00 2001
From: pegasko <pegasko@pegasko.art>
Date: Thu, 9 May 2024 03:00:45 +0300
Subject: [PATCH] add reame to setup + update description

---
 README.md |  2 +-
 setup.py  | 15 +++++++++++++--
 2 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 8c36bfe..815c523 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 # fleepit
 
-Keyboard layout switcher based on xclip / etc for X11 & wayland
+Text seleciton keyboard layout switcher based on xclip / etc for X11 & wayland
 
 # Install
 
diff --git a/setup.py b/setup.py
index ce5589c..59b9d72 100644
--- a/setup.py
+++ b/setup.py
@@ -1,10 +1,19 @@
 from setuptools import setup, find_packages
 
+import pathlib
+try:
+    this_directory = pathlib.Path(__file__).parent
+    long_description = (this_directory / "README.md").read_text()
+    long_description_content_type = 'text/markdown'
+except:
+    long_description = None
+    long_description_content_type = None
+
 setup(
     name='fleepit',
-    version='1',
+    version='3',
     py_modules=['fleepit'],
-    description='keyboard layout switcher based on xclip & other things',
+    description='Text seleciton keyboard layout switcher based on xclip / etc for X11 & wayland',
     url='https://git.pegasko.art/bitrate16/fleepit',
     author_email='pegasko@pegasko.art',
     license='AGPL 3.0',
@@ -13,4 +22,6 @@ setup(
         [console_scripts]
         fleepit=fleepit:main
     ''',
+    long_description=long_description,
+    long_description_content_type=long_description_content_type,
 )