Skip to content

Commit

Permalink
Rename pywws.totwitter in documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Jim Easterbrook <jim@jim-easterbrook.me.uk>
  • Loading branch information
jim-easterbrook committed Aug 23, 2018
1 parent bf291f6 commit 1e2219e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
8 changes: 1 addition & 7 deletions src/doc/essentials/dependencies.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ Normal uploading just uses Python's standard modules, but if you want to use sft
Twitter updates
---------------

The :py:mod:`pywws.totwitter` module can be used to send weather status messages to Twitter.
The :py:mod:`pywws.service.twitter` module can be used to send weather status messages to Twitter.
Posting to Twitter requires these modules:

* `python-twitter <https://github.com/bear/python-twitter>`_ v3.0 or higher
Expand All @@ -199,12 +199,6 @@ Posting to Twitter requires these modules:
Note that ``tweepy`` appears to be the less reliable of the two.
If you have problems, e.g. with character encoding, try installing ``python-twitter`` instead.

.. versionchanged:: 13.10_r1086
reenabled use of ``tweepy`` library as an alternative to ``python-twitter``.

.. versionchanged:: 13.06_r1023
pywws previously used the ``tweepy`` library instead of ``python-twitter`` and ``python-oauth2``.

.. _dependencies-mqtt:

MQTT
Expand Down
4 changes: 2 additions & 2 deletions src/pywws/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '18.8.0'
_release = '1581'
_commit = '126c231'
_release = '1582'
_commit = 'bf291f6'
2 changes: 1 addition & 1 deletion src/pywws/service/twitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
Now you are ready to run :py:mod:`pywws.service.twitter`. Using high
verbosity shows you what's happening as it runs::
python -m pywws.totwitter -vv ~/weather/data tweet.txt
python -m pywws.service.twitter -vv ~/weather/data tweet.txt
If this works, your new Twitter account will have posted its first
weather report. (You can delete the tweet.txt file now.)
Expand Down

0 comments on commit 1e2219e

Please sign in to comment.