Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
Fix readme example code,
change version to 0.1.0 to follow go and js implementation
  • Loading branch information
dheatovwil committed Jan 8, 2019
1 parent 64307ed commit 52b2baf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async def client_get_protocol(host_info):
protocols = [ '/cats', '/dogs' ]
stream = func_to_create_stream(host_info)
client = MultiselectClient()
return selected_protocol = await client.select_one_of(protocols, stream)
return await client.select_one_of(protocols, stream)

async def host_get_protocol(handlers):
stream = func_to_create_stream()
Expand Down
8 changes: 3 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
# Versions should comply with PEP440. For a discussion on single-sourcing
# the version across setup.py and the project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1.1.0',
description='Multistream select',
version='0.1.2',
description='an implementation of the multistream protocol in python',
long_description=long_description,
long_description_content_type="text/markdown",

Expand All @@ -44,16 +44,14 @@

# Indicate who your project is intended for
'Intended Audience :: Developers',
'Topic :: Libp2p :: Build Tools',

# Pick your license as you wish (should match "license" above)
'License :: OSI Approved :: MIT License',

# Specify the Python versions you support here. In particular, ensure
# that you indicate whether you support Python 2, Python 3 or both.
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
],

# What does your project relate to?
Expand Down

0 comments on commit 52b2baf

Please sign in to comment.