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
|
||||
Python, nor any Syndicate DSL language extensions.
|
||||
|
||||
pip install mini-syndicate
|
||||
pip install syndicate-py
|
||||
|
||||
or
|
||||
|
||||
git clone https://git.syndicate-lang.org/syndicate-lang/mini-syndicate-py
|
||||
cd mini-syndicate-py
|
||||
git clone https://git.syndicate-lang.org/syndicate-lang/syndicate-py
|
||||
cd syndicate-py
|
||||
virtualenv -p python3 pyenv
|
||||
. pyenv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
|
@ -20,6 +17,12 @@ or
|
|||
Start a Syndicate broker (such as
|
||||
[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:
|
||||
|
||||
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
|
||||
|
||||
setup(
|
||||
name="mini-syndicate",
|
||||
version="0.0.7",
|
||||
name="syndicate-py",
|
||||
version="0.1.0",
|
||||
author="Tony Garnock-Jones",
|
||||
author_email="tonyg@leastfixedpoint.com",
|
||||
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+)",
|
||||
"Programming Language :: Python :: 3",
|
||||
],
|
||||
packages=["syndicate", "syndicate.mini"],
|
||||
url="https://github.com/syndicate-lang/mini-syndicate-py",
|
||||
description="Syndicate-like library for integrating Python with the Syndicate ecosystem",
|
||||
packages=["syndicate"],
|
||||
url="https://git.syndicate-lang.org/syndicate-lang/syndicate-py",
|
||||
description="Syndicated Actor model and Syndicate network protocol for Python 3",
|
||||
install_requires=['websockets', 'preserves'],
|
||||
python_requires=">=3.6, <4",
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue