Skip to content

Commit

Permalink
Refactor setup.py to use pathlib for file handling
Browse files Browse the repository at this point in the history
  • Loading branch information
rexdivakar committed Mar 17, 2024
1 parent 8682203 commit e29f919
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from setuptools import setup
from os import path
from pathlib import Path

classifiers = [
'Development Status :: 5 - Production/Stable',
Expand All @@ -10,14 +10,13 @@
]

# Get the long description from the README file
with open("README.md", encoding="utf-8") as f:
read_file = f.read()

long_description = Path("README.md").read_text(encoding="utf-8")

setup(
name='notifly',
version='1.3.2',
description='Notification on the fly !',
long_description=read_file,
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/rexdivakar/Telegram-Notifly',
author='Divakar R, Sanchit Jain',
Expand Down

0 comments on commit e29f919

Please sign in to comment.