From 3513a00d26348b6a2d68ce284131f96126a7c890 Mon Sep 17 00:00:00 2001 From: sawradip Date: Sun, 14 Apr 2024 15:53:47 +0600 Subject: [PATCH 1/2] Updates for packageing --- pyproject.toml | 21 +++++++++++++++++++++ setup.py | 28 ---------------------------- 2 files changed, 21 insertions(+), 28 deletions(-) create mode 100644 pyproject.toml delete mode 100644 setup.py diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..a73a192 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,21 @@ +[build-system] +requires = ["setuptools>=40.6.0", "wheel"] +build-backend = "setuptools.build_meta" + +[project] +name = "csebuetnlp-normalizer" +version = "1.0.0" +description = "Normalizer for bengali / english text." +readme = "README.md" +requires-python = ">=3.5" +authors = [{name = "Sawradip Saha", email = "sawradip0@gmail.com"}] +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent", +] +dependencies = [ + "regex", + "emoji==1.4.2", + "ftfy==6.0.3" +] diff --git a/setup.py b/setup.py deleted file mode 100644 index 145beb8..0000000 --- a/setup.py +++ /dev/null @@ -1,28 +0,0 @@ -import setuptools - -with open("README.md", "r") as fh: - long_description = fh.read() - -setuptools.setup( - name="normalizer", - version="0.0.1", - description="Normalizer for bengali / english text.", - long_description=long_description, - long_description_content_type="text/markdown", - packages=['normalizer'], - classifiers=[ - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python' - ], - install_requires=[ - "regex", - "emoji==1.4.2", - "ftfy==6.0.3" - ], - package_data={'': ['*']}, - python_requires='>=3.5', -) \ No newline at end of file From 90cf401dec02d3a2e9c9e7a162cf54aaf2d90ded Mon Sep 17 00:00:00 2001 From: Sawradip Saha <67541368+sawradip@users.noreply.github.com> Date: Tue, 7 May 2024 17:42:33 +0530 Subject: [PATCH 2/2] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8035cf9..f22c42e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This python module is an easy-to-use port of the text normalization used in the ## Installation ```bash -$ pip install git+https://github.com/csebuetnlp/normalizer +$ pip install csebuetnlp-normalizer ``` ## Usage