-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
55 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,14 +16,13 @@ jobs: | |
with: | ||
python-version: '3.12' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install setuptools wheel twine | ||
- name: check GITHUB_REF matches package version | ||
uses: samuelcolvin/[email protected] | ||
with: | ||
version_file_path: centrifuge/__init__.py | ||
|
||
- name: Build package | ||
run: | | ||
python setup.py sdist bdist_wheel | ||
- name: Build distribution | ||
run: python -m build | ||
|
||
- name: Publish package to PyPI | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
[build-system] | ||
requires = ["hatchling"] | ||
build-backend = "hatchling.build" | ||
|
||
[project] | ||
name = "centrifuge-python" | ||
description = "WebSocket SDK for Centrifugo (and any Centrifuge-based server) on top of Python asyncio library" | ||
readme = "README.md" | ||
requires-python = ">=3.8" | ||
license = "MIT" | ||
authors = [ | ||
{ name = "Alexander Emelin (Centrifugal Labs LTD)", email = "" }, | ||
] | ||
keywords = [ | ||
"Centrifugo", | ||
"Centrifuge", | ||
"WebSocket", | ||
"Pub/Sub", | ||
"Realtime", | ||
] | ||
classifiers = [ | ||
"License :: OSI Approved :: MIT License", | ||
"Development Status :: 4 - Beta", | ||
"Operating System :: OS Independent", | ||
"Intended Audience :: Developers", | ||
"Intended Audience :: Information Technology", | ||
"Framework :: AsyncIO", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
"Programming Language :: Python :: 3.11", | ||
"Programming Language :: Python :: 3.12", | ||
"Programming Language :: Python :: 3 :: Only", | ||
"Topic :: System :: Networking", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Topic :: Internet", | ||
"Typing :: Typed", | ||
] | ||
dependencies = [ | ||
"websockets>=11.0.3,<12.0.0", | ||
"protobuf>=4.23.4,<5.0.0", | ||
] | ||
|
||
dynamic = ["version"] |