Skip to content

Commit

Permalink
Add pyproject.toml for uploading to PyPi
Browse files Browse the repository at this point in the history
  • Loading branch information
moha-abdi committed Sep 10, 2024
1 parent be71ee8 commit b2f23b7
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<p align="center">
<img src=".github/images/banner.png" alt="PySIP Logo" style="display: block; margin: 0 auto;">
<img src="https://raw.githubusercontent.com/moha-abdi/pysip/main/.github/images/banner.png" alt="PySIP Logo" style="display: block; margin: 0 auto;">
</p>
<p align="center">
<b>Python SIP Library for Custom VoIP Solutions</b>
Expand Down
52 changes: 52 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
[build-system]
requires = ["setuptools>=45", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "PySIPio"
version = "1.7.0"
description = "Python SIP Library for Custom VoIP Solutions"
authors = [{name = "Moha Abdi", email = "[email protected]"}]
license = {text = "MIT"}
readme = "README.md"
requires-python = ">=3.8"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Communications :: Internet Phone",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"pydub>=0.25.1",
"requests>=2.25.1",
"edge-tts>=5.0.0",
"python-dotenv>=0.19.0",
]

keywords = [
"SIP",
"VoIP",
"Session Initiation Protocol",
"Voice over IP",
"telephony",
"communication",
"UDP",
"async",
"asynchronous",
"call handling",
"PBX",
"IVR",
"interactive voice response",
]

[project.urls]
"Homepage" = "https://github.com/moha-abdi/PySIP"
"Bug Tracker" = "https://github.com/moha-abdi/PySIP/issues"

[tool.setuptools]
packages = ["PySIP"]

[tool.setuptools.package-data]
PySIP = [".github/images/*.png"]
9 changes: 4 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pydub
requests
edge-tts
janus
python-dotenv
pydub>=0.25.1
requests>=2.25.1
edge-tts>=5.0.0
python-dotenv>=0.19.0

0 comments on commit b2f23b7

Please sign in to comment.