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 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