Skip to content

Commit

Permalink
Added configurations for building and installing the package
Browse files Browse the repository at this point in the history
  • Loading branch information
goldpulpy committed Oct 9, 2024
1 parent acd3db8 commit 1ad8886
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 0 deletions.
38 changes: 38 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[build-system]
requires = ["setuptools>=42", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "pysentence-similarity"
version = "1.0.1"
description = "pysentence-similarity this tool is designed to identify and find similarities between sentences and the base sentence in python language"
authors = [
{ name = "goldpulpy", email = "sawsani1928@gmail.com" }
]
license = { text = "MIT" }
readme = "README.md"
requires-python = ">=3.8"
dependencies = [
"tokenizers",
"onnxruntime-gpu",
"beautifulsoup4",
"platformdirs",
"h5py"
]
keywords = ["sentence similarity", "NLP", "natural language processing"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Natural Language :: English",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
]


[project.urls]
Homepage = "https://github.com/goldpulpy/pysentence-similarity"
Repository = "https://github.com/goldpulpy/pysentence-similarity"
Documentation = "https://github.com/goldpulpy/pysentence-similarity#readme"
Issue = "https://github.com/goldpulpy/pysentence-similarity/issues"

3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[egg_info]
tag_build =
tag_date = 0
40 changes: 40 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
"""Setup.py for pysentence-similarity package."""
from setuptools import setup, find_packages

setup(
name="pysentence-similarity",
version="1.0.1",
author="goldpulpy",
author_email="sawsani1928@gmail.com",
description="pysentence-similarity this tool is designed to identify "
"and find similarities between sentences and the base sentence "
"in python language",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/goldpulpy/pysentence-similarity",
project_urls={
"Documentation": "https://github.com/goldpulpy/"
"pysentence-similarity#readme",
"Issues": "https://github.com/goldpulpy/"
"pysentence-similarity/issues",
"Homepage": "https://github.com/goldpulpy/pysentence-similarity",
},
packages=find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Natural Language :: English",
"Topic :: Software Development :: Libraries :: Python Modules",
"Intended Audience :: Developers",
],
keywords="sentence similarity NLP natural language processing",
python_requires='>=3.8',
install_requires=[
"tokenizers",
"onnxruntime-gpu",
"beautifulsoup4",
"platformdirs",
"h5py"
],
)

0 comments on commit 1ad8886

Please sign in to comment.