Skip to content

Commit

Permalink
Updated tox to include py38. Updating setup.py to use most recent des…
Browse files Browse the repository at this point in the history
…cription from readme.md. Better installation instructions.
  • Loading branch information
asweigart committed Nov 12, 2019
1 parent cdc531b commit c6b2fe5
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 6 deletions.
14 changes: 12 additions & 2 deletions docs/index.rst
Expand Up @@ -6,7 +6,17 @@ A Pythonic interface to the Gmail API that actually works as of November 2019.
Installation
------------

``pip install ezgmail``
EZGmail can be installed from PyPI using `pip`:

``pip install ezgmail``

On macOS and Linux, installing EZGmail for Python 3 is done with `pip3`:

``pip3 install ezgmail``

If you run into permissions errors, try installing with the `--user` option:

``pip install --user ezgmail``

You must also sign up for a Gmail account at https://gmail.com/. Then, go to
https://developers.google.com/gmail/api/quickstart/python/, click the **Enable the Gmail API** button on that page,
Expand Down Expand Up @@ -105,7 +115,7 @@ operatives for it too:

More search operatives are described at https://support.google.com/mail/answer/7190?hl=en

The API contains complete documentation.
The API section contains complete documentation.

API
---
Expand Down
9 changes: 6 additions & 3 deletions setup.py
Expand Up @@ -8,15 +8,17 @@

# Read in the README.md for the long description.
with open('README.md') as fo:
long_description = fo.read()
content = fo.read()
long_description = content
description = re.search('(A Pythonic interface to.*)', content).group(1)

setup(
name='EZGmail',
version=version,
url='https://github.com/asweigart/ezgmail',
author='Al Sweigart',
author_email='al@inventwithpython.com',
description=('''A Pythonic interface to the Gmail API that actually works as of June 2019.'''),
description=description,
long_description=long_description,
long_description_content_type="text/markdown",
license='GPLv3+',
Expand All @@ -32,6 +34,7 @@
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7'
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
)
2 changes: 1 addition & 1 deletion tox.ini
Expand Up @@ -4,7 +4,7 @@
# and then run "tox" from this directory.

[tox]
envlist = py34, py35, py36, py37
envlist = py34, py35, py36, py37, py38

[testenv]
deps =
Expand Down

0 comments on commit c6b2fe5

Please sign in to comment.