From 8a01c359140f64450aa6c5a2fe06a86d40083a96 Mon Sep 17 00:00:00 2001 From: Josh Villbrandt Date: Thu, 27 Jun 2019 16:59:55 -0700 Subject: [PATCH] Update for v0.3.3 release --- .gitignore | 1 + README.md | 11 +++++++---- setup.py | 2 +- tox.ini | 2 +- wireless/Wireless.py | 1 + 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index db4561e..6c05a17 100644 --- a/.gitignore +++ b/.gitignore @@ -21,6 +21,7 @@ var/ *.egg-info/ .installed.cfg *.egg +.eggs # PyInstaller # Usually these files are written by a python script from a template diff --git a/README.md b/README.md index cd1ba37..3c89a19 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,6 @@ nmcli | Ubuntu 12.04, 14.04 | Linksys AE3000, Intel Centrino 6250 wpa_supplicant | Ubuntu 12.04, 14.04 | Intel Centrino 6250 networksetup | Mac OS 10.10 | Macbook Pro - - ## Setup ```bash @@ -52,6 +50,11 @@ Note: To use `wpa_supplicant`, `network-manager` (the backend for `nmcli`) must This project uses [semantic versioning](http://semver.org/). +### v0.3.3 - 2019/06/27 + +* Fix version comparison for python3.5 ([pschmitt](https://github.com/pschmitt)) +* Update iwconfig current() to handle Nickname field ([jminardi](https://github.com/jminardi)) + ### v0.3.2 - 2016/03/06 * Added a few tests and fixed a py34 bug ([XayOn](https://github.com/XayOn)) @@ -96,8 +99,8 @@ sudo apt-get install pandoc sudo pip install pypandoc ``` -Then, following [this guide](http://peterdowns.com/posts/first-time-with-pypi.html), push the project to PyPI: +Then, following [this guide](https://packaging.python.org/tutorials/packaging-projects/), push the project to PyPI: ```bash -sudo python setup.py sdist upload -r pypi +python3 -m twine upload --repository-url https://upload.pypi.org/legacy/ dist/* ``` diff --git a/setup.py b/setup.py index 7ef37e0..fc0a986 100644 --- a/setup.py +++ b/setup.py @@ -12,7 +12,7 @@ setup( name='wireless', - version='0.3.2', + version='0.3.3', description='A dead simple, cross-platform Python library to connect to ' + 'wireless networks.', long_description=long_description, diff --git a/tox.ini b/tox.ini index 1980345..d631f0e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist=py27,py33,py34,flake8 +envlist=py27,py33,py34,py36,flake8 [testenv] commands= diff --git a/wireless/Wireless.py b/wireless/Wireless.py index 9ae610f..4457dfb 100644 --- a/wireless/Wireless.py +++ b/wireless/Wireless.py @@ -2,6 +2,7 @@ import subprocess from time import sleep from packaging import version +import re # send a command to the shell and return the result