This repository has been archived by the owner on Jul 8, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from hellofresh/major/python-3-support
Add python 3 support
- Loading branch information
Showing
5 changed files
with
58 additions
and
13 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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -3,7 +3,15 @@ | |
NAME = "appboy-client" | ||
VERSION = "0.0.1" | ||
|
||
REQUIRES = [] | ||
REQUIRES = [ | ||
'requests==2.21.0', | ||
] | ||
|
||
EXTRAS = { | ||
'dev': [ | ||
'tox', | ||
], | ||
} | ||
|
||
setup( | ||
name=NAME, | ||
|
@@ -12,5 +20,11 @@ | |
author_email="[email protected]", | ||
keywords=["HelloFresh", "Appboy"], | ||
install_requires=REQUIRES, | ||
packages=find_packages() | ||
extras_require=EXTRAS, | ||
packages=find_packages(exclude=('tests',)), | ||
classifiers=[ | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3.7', | ||
], | ||
) |
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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[tox] | ||
envlist = style, unit-27, unit-37 | ||
|
||
# Configs | ||
[pytest] | ||
addopts = -p no:warnings | ||
|
||
# Local Unit | ||
[testenv:unit] | ||
deps = | ||
codecov | ||
mock | ||
pytest | ||
pytest-cov | ||
pytest-mock | ||
commands = | ||
pytest tests | ||
|
||
[testenv:unit-27] | ||
basepython = python2.7 | ||
deps = {[testenv:unit]deps} | ||
commands = {[testenv:unit]commands} | ||
|
||
[testenv:unit-37] | ||
basepython = python3.7 | ||
deps = {[testenv:unit]deps} | ||
commands = {[testenv:unit]commands} | ||
|
||
# Codestyle | ||
[testenv:style] | ||
deps = flake8 | ||
commands = flake8 --max-line-length=120 appboy |