From 58a04c3fa21f0832089816eb691fe036b5d144e3 Mon Sep 17 00:00:00 2001 From: Jeel Dobariya Date: Tue, 17 Oct 2023 18:01:32 +0530 Subject: [PATCH 1/3] Update setup.py --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2209782..3015374 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,7 @@ def read_file(file_name): }, license='MIT', package_data={ - 'your_package': ['*.pyi'], + 'pyfilehandling': ['*.pyi'], }, python_requires='>=3.9', ) From 38069ae304d25ae2b0e834ded792dc3b80e110de Mon Sep 17 00:00:00 2001 From: Jeel Dobariya Date: Tue, 17 Oct 2023 18:17:06 +0530 Subject: [PATCH 2/3] add py.typed file to project --- pyfilehandling/py.typed | 0 setup.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 pyfilehandling/py.typed diff --git a/pyfilehandling/py.typed b/pyfilehandling/py.typed new file mode 100644 index 0000000..e69de29 diff --git a/setup.py b/setup.py index 3015374..fa53f81 100644 --- a/setup.py +++ b/setup.py @@ -8,7 +8,7 @@ def read_file(file_name): setup( name='pyfilehandling', - version='2.0.0', + version='2.0.1', description='A Python package for file manipulation operations.', long_description=long_description, long_description_content_type='text/markdown', From 3189fde1c4c2a4f68234b6e645631c8e5e5aab63 Mon Sep 17 00:00:00 2001 From: Jeel Dobariya Date: Tue, 17 Oct 2023 18:29:26 +0530 Subject: [PATCH 3/3] add a MANIFEST.in to follow the best practices --- MANIFEST.in | 3 +++ setup.py | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..4dec3be --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1,3 @@ +include pyfilehandling/py.typed +include pyfilehandling/*.pyi +include pyfilehandling/files/*.pyi diff --git a/setup.py b/setup.py index fa53f81..1a4a8d8 100644 --- a/setup.py +++ b/setup.py @@ -31,8 +31,5 @@ def read_file(file_name): 'Source Code': 'https://github.com/JeelDobariya38/PyFileHandling', }, license='MIT', - package_data={ - 'pyfilehandling': ['*.pyi'], - }, python_requires='>=3.9', )