Update README and setup.py
This commit is contained in:
parent
822d38dcf9
commit
c8cbc8cdb6
21
README.md
21
README.md
|
@ -1,16 +1,13 @@
|
||||||
# mini-syndicate-py
|
# syndicate-py
|
||||||
|
|
||||||
This is a Python implementation of the Syndicate network protocol.
|
This is a Python implementation of Syndicated Actors and the Syndicate network protocol.
|
||||||
|
|
||||||
It does *not* yet offer a formal Actor or Facet implementation for
|
pip install syndicate-py
|
||||||
Python, nor any Syndicate DSL language extensions.
|
|
||||||
|
|
||||||
pip install mini-syndicate
|
|
||||||
|
|
||||||
or
|
or
|
||||||
|
|
||||||
git clone https://git.syndicate-lang.org/syndicate-lang/mini-syndicate-py
|
git clone https://git.syndicate-lang.org/syndicate-lang/syndicate-py
|
||||||
cd mini-syndicate-py
|
cd syndicate-py
|
||||||
virtualenv -p python3 pyenv
|
virtualenv -p python3 pyenv
|
||||||
. pyenv/bin/activate
|
. pyenv/bin/activate
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
|
@ -20,6 +17,12 @@ or
|
||||||
Start a Syndicate broker (such as
|
Start a Syndicate broker (such as
|
||||||
[this one](https://git.syndicate-lang.org/syndicate-rs)) in one window.
|
[this one](https://git.syndicate-lang.org/syndicate-rs)) in one window.
|
||||||
|
|
||||||
|
Find the line of broker output giving the root capability:
|
||||||
|
|
||||||
|
... rootcap=<ref "syndicate" [] #x"a6480df5306611ddd0d3882b546e1977"> ...
|
||||||
|
|
||||||
Then, run [chat.py](chat.py) several times in several separate windows:
|
Then, run [chat.py](chat.py) several times in several separate windows:
|
||||||
|
|
||||||
python chat.py tcp://localhost:8001#chat
|
python chat.py \
|
||||||
|
'<tcp "localhost" 8001>' \
|
||||||
|
'<ref "syndicate" [] #x"a6480df5306611ddd0d3882b546e1977">'
|
||||||
|
|
10
setup.py
10
setup.py
|
@ -4,8 +4,8 @@ except ImportError:
|
||||||
from distutils.core import setup
|
from distutils.core import setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="mini-syndicate",
|
name="syndicate-py",
|
||||||
version="0.0.7",
|
version="0.1.0",
|
||||||
author="Tony Garnock-Jones",
|
author="Tony Garnock-Jones",
|
||||||
author_email="tonyg@leastfixedpoint.com",
|
author_email="tonyg@leastfixedpoint.com",
|
||||||
license="GNU General Public License v3 or later (GPLv3+)",
|
license="GNU General Public License v3 or later (GPLv3+)",
|
||||||
|
@ -16,9 +16,9 @@ setup(
|
||||||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
||||||
"Programming Language :: Python :: 3",
|
"Programming Language :: Python :: 3",
|
||||||
],
|
],
|
||||||
packages=["syndicate", "syndicate.mini"],
|
packages=["syndicate"],
|
||||||
url="https://github.com/syndicate-lang/mini-syndicate-py",
|
url="https://git.syndicate-lang.org/syndicate-lang/syndicate-py",
|
||||||
description="Syndicate-like library for integrating Python with the Syndicate ecosystem",
|
description="Syndicated Actor model and Syndicate network protocol for Python 3",
|
||||||
install_requires=['websockets', 'preserves'],
|
install_requires=['websockets', 'preserves'],
|
||||||
python_requires=">=3.6, <4",
|
python_requires=">=3.6, <4",
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue