Skip to content
Permalink
Browse files

fix & include testing of package distribution

  • Loading branch information...
rooterkyberian committed Jun 29, 2018
1 parent ce47e90 commit 7d4c798c6ac55c05f8a3537886140655b9653a21
Showing with 7 additions and 3 deletions.
  1. +2 −0 .gitignore
  2. +3 −2 .travis.yml
  3. +1 −0 MANIFEST.in
  4. +1 −1 setup.py
@@ -1,5 +1,7 @@
.*
!.editorconfig
!.gitignore
!.travis.yml
*.py[co]
*~
*.bak
@@ -10,9 +10,10 @@ matrix:

cache: pip
before_install:
- pip install -r test_requirements.txt
- rm -rf dist && python setup.py sdist # prep package distribution
install:
- pip install -e . # install dependencies as specified in setup.py
- pip install dist/*.tar.gz # install dependencies as specified in setup.py
- pip install -r test_requirements.txt
script:
- pytest
after_success:
@@ -0,0 +1 @@
include *requirements.txt
@@ -32,7 +32,7 @@ def find_version(*parts):
url = 'https://github.com/emesik/monero-python/',
long_description = open('README.rst', 'rb').read().decode('utf-8'),
install_requires = open('requirements.txt', 'r').read().splitlines(),
tests_requires=open('test_requirements.txt', 'r').read().splitlines(),
tests_require=open('test_requirements.txt', 'r').read().splitlines(),
setup_requires=[
'pytest-runner',
],

0 comments on commit 7d4c798

Please sign in to comment.
You can’t perform that action at this time.