Skip to content
This repository has been archived by the owner on Mar 9, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' into onetimeout
Browse files Browse the repository at this point in the history
  • Loading branch information
emesik committed Feb 5, 2021
2 parents 9674aa1 + 9e689ac commit 9239b40
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ before_install:
- rm -rf dist && python setup.py sdist # prep package distribution
install:
- pip install dist/*.tar.gz # install dependencies as specified in setup.py
- pip install -r test_requirements.txt
- pip install -r test_requirements_py`echo $TRAVIS_PYTHON_VERSION | cut -f 1 -d .`.txt
script:
- pytest
after_success:
Expand Down
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1 @@
include *requirements.txt
include *requirements*.txt
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import codecs
import os
import re
import sys
from distutils.core import setup

from setuptools import find_packages
Expand Down Expand Up @@ -33,7 +34,9 @@ def find_version(*parts):
url = 'https://github.com/monero-ecosystem/monero-python/',
long_description = open('README.rst', 'rb').read().decode('utf-8'),
install_requires = open('requirements.txt', 'r').read().splitlines(),
tests_require=open('test_requirements.txt', 'r').read().splitlines(),
tests_require=open(
'test_requirements_py{:d}.txt'.format(sys.version_info.major),
'r').read().splitlines(),
setup_requires=[
'pytest-runner',
],
Expand Down
7 changes: 7 additions & 0 deletions test_requirements_py2.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
coverage~=5.3
coveralls~=1.11
pip>=9
pytest-cov~=2.10
pytest-runner~=5.2
pytest~=4.6
responses~=0.12
File renamed without changes.

0 comments on commit 9239b40

Please sign in to comment.