Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ewerybody authored Jan 4, 2023
1 parent cb46df6 commit 796863e
Showing 1 changed file with 0 additions and 48 deletions.
48 changes: 0 additions & 48 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,51 +13,3 @@ singlesiding is also available under the
Installation
------------
TODO: wip ...

siding isn't finished yet, but you can still download it if you'd like. You
can use pip:

pip install siding

Or if you still like the old ways:

easy_install siding


And, of course, you can always grab the latest code off github.

git clone git://github.com/stendec/siding.git

siding requires Python 2.7 for now, with possible support for Python 3 later
on.

Short Example
-------------

Why use siding? Here's why. The following application has support for only
running a single instance, profiles, styles, and plugins:

```python
import siding
import sys

# Create the application.
app = siding.QSingleApplication(sys.argv)

# Initialize everything.
siding.profile.initialize(True)
app.ensure_single()
siding.plugins.initialize(True)
siding.style.initialize(True)

# Load my code, whatever it is.
import my_window
my_window.show()

# Connect a simple signal so we can receive arguments from any other
# instances that try to open.
app.messageReceived.connect(my_window.handle_args)

# And run the application.
app.exec_()
```

0 comments on commit 796863e

Please sign in to comment.