aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2017-10-09 10:39:17 -0700
committerGitHub <noreply@github.com>2017-10-09 10:39:17 -0700
commitb0990a649da7c34c27607d76f0f1af301e65e7d5 (patch)
tree7aaf136a1b11bfac442848bb8e60c3dd00038946
parent6e8e445c9d1f704c945deb0e5484c2f7f8329532 (diff)
downloadportpicker-b0990a649da7c34c27607d76f0f1af301e65e7d5.tar.gz
Update the version to 1.2.0 + describe changes. (#8)
-rw-r--r--ChangeLog.md5
-rw-r--r--setup.py3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog.md b/ChangeLog.md
index 63da2a5..55d9f52 100644
--- a/ChangeLog.md
+++ b/ChangeLog.md
@@ -1,3 +1,8 @@
+## 1.2.0
+
+* Introduced `add_reserved_port()` and `return_port()` APIs to allow ports to
+ be recycled and allow users to bring ports of their own.
+
## 1.1.1
* Changed default port range to 15000-24999 to avoid ephemeral ports.
diff --git a/setup.py b/setup.py
index 161d8a3..77c5f8f 100644
--- a/setup.py
+++ b/setup.py
@@ -33,7 +33,7 @@ def main():
distutils.core.setup(
name='portpicker',
- version='1.1.1',
+ version='1.2.0',
description='A library to choose unique available network ports.',
long_description=textwrap.dedent("""\
Portpicker provides an API to find and return an available network
@@ -58,6 +58,7 @@ def main():
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
+ 'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: Jython',
'Programming Language :: Python :: Implementation :: PyPy'])