Skip to content

Commit 40e655a

Browse files
committed
split test dependency and added request package dependency
1 parent e865589 commit 40e655a

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ install:
3636
# can't change the pyxb version without changing the version in setup.py
3737
# and regenerating the bindings in apicontractsv1.py
3838
- pip install lxml
39+
- pip install requests
3940
- if [[ "$TEST_SUITE" == "coverage" ]]; then pip install coveralls; fi
4041

4142
before_script:

authorizenet/apicontrollersbase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import pyxb
99
import sys
1010
import xml.dom.minidom
11-
from pip._vendor import requests
11+
import requests
1212
from lxml import objectify
1313

1414
from authorizenet.constants import constants

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,13 @@
6363
# your project is installed. For an analysis of "install_requires" vs pip's
6464
# requirements files see:
6565
# https://packaging.python.org/en/latest/requirements.html
66-
install_requires=['pyxb==1.2.5', 'nose', 'mock', 'lxml'],
66+
install_requires=['pyxb==1.2.5', 'lxml', 'requests'],
6767
#install_requires=['nose'],
6868
#install_requires=['nosetests'],
6969
#install_requires=['mock'],
7070
#install_requires=['lxml'],
7171

72+
tests_require = ['nose', 'mock'],
7273
# List additional groups of dependencies here (e.g. development
7374
# dependencies). You can install these using the following syntax,
7475
# for example:

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy