Metadata-Version: 2.1
Name: mq_sa
Version: 0.0.1
Summary: Message queue for Interprocess communication
Author: Yakov Wildfluss <yakov@smashingalpha.com>
License: MIT
Requires-Python: >=3.7
Description-Content-Type: text/markdown

# message-queue

In a parent directory run

```bash
pip install message-queue/ 
```

Create interprocess message queue and send 

```python
import mq_sa
q=mq_sa.create('myqueue')
mq_sa.send(q, 'fo', 'bar', 'baz', 'quux')
```

Receive like this 

```python
import mq_sa
q=mq_sa.open('myqueue')
mq_sa.receive(q)
('fo', 'bar', 'baz', 'quux')
```

## Release new version

```
python setup.py sdist && \
twine upload dist/*
```

## Boost install directory and Pyenv 

If boost installed in eg `$HOME/boost` then, why - https://github.com/scikit-build/scikit-build/issues/733

```bash
export SKBUILD_CONFIGURE_OPTIONS="-DBOOST_ROOT=$HOME/boost" && \
pip install message-queue/ 
```

And copy boost python to where Python can find it with its @rpath like this 

```bash
cp $HOME/boost/lib/libboost_python311.* $HOME/.pyenv/versions/3.11.2/lib
```
