-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f74dfff
commit 09b340a
Showing
4 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# createsend | ||
|
||
A Python library which implements the complete functionality of the [Campaign Monitor API](http://www.campaignmonitor.com/api/). Requires Python 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, 3.12, 3.13 or later. | ||
A Python library which implements the complete functionality of the [Campaign Monitor API](http://www.campaignmonitor.com/api/). Requires Python 3.8 or above. | ||
|
||
## Installation | ||
|
||
|
@@ -209,6 +209,33 @@ def test_add_with_custom_fields(self): | |
self.assertEqual(email_address, "[email protected]") | ||
``` | ||
|
||
## Running unit tests | ||
|
||
``` | ||
> python -m venv venv | ||
> source venv/bin/activate # On Windows, use: venv\Scripts\activate | ||
> pip install pytest | ||
> export PYTHONPATH=$(pwd)/lib # on Windows: set PYTHONPATH=%cd%\lib | ||
> pytest | ||
> # To run a specific test file | ||
> pytest test/test_administrator.py | ||
``` | ||
|
||
To deactivate the virtual environment run: | ||
``` | ||
> deactivate | ||
``` | ||
|
||
## Automated testing with tox | ||
|
||
There is some testing available to test this wrapper against different versions of Python with [tox](https://tox.wiki/). | ||
|
||
Here are the commands to get that runnning: | ||
``` | ||
> pip install tox | ||
> tox | ||
``` | ||
|
||
## Contributing | ||
|
||
Please check the [guidelines for contributing](https://github.com/campaignmonitor/createsend-python/blob/master/CONTRIBUTING.md) to this repository. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
setup( | ||
name="createsend", | ||
version='8.0.2', | ||
version='9.0.0', | ||
description="A library which implements the complete functionality of the Campaign Monitor API.", | ||
author='Campaign Monitor', | ||
author_email='[email protected]', | ||
|