Skip to content
This repository has been archived by the owner on Sep 13, 2024. It is now read-only.

Commit

Permalink
Add note about project archival.
Browse files Browse the repository at this point in the history
  • Loading branch information
freakboy3742 committed Sep 13, 2024
1 parent 4a823f7 commit 30fe3fa
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,29 @@
# THIS PROJECT HAS BEEN ARCHIVED

**With the release of `PyGObject 3.50.0
<https://pypi.org/project/PyGObject/3.50.0/>`__, GBulb is no longer required**.
PyGObject now contains native integration with the Python event loop. If you
require asyncio support in your GTK app, we advise upgrading your project to use
PyGobject 3.50.0.

Example usage of PyGObject with native asyncio support::

import asyncio

import gi
gi.require_version("Gtk", "3.0")

from gi.events import GLibEventLoopPolicy
from gi.repository import Gtk

asyncio.set_event_loop_policy(GlibEventLoopPolicy())

app = Gtk.Application(...)
app.run()

The last published version of this project (v0.6.6) is compatible with versions of
PyGObject prior to 3.50.0.

.. |pyversions| image:: https://img.shields.io/pypi/pyversions/gbulb.svg
:target: https://pypi.python.org/pypi/gbulb
:alt: Python Versions
Expand Down

0 comments on commit 30fe3fa

Please sign in to comment.