mirror of
https://git.wownero.com/lza_menace/wownero-python.git
synced 2024-08-15 03:25:25 +00:00
fix & include testing of package distribution
This commit is contained in:
parent
ce47e90535
commit
7d4c798c6a
4 changed files with 7 additions and 3 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -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:
|
||||
|
|
1
MANIFEST.in
Normal file
1
MANIFEST.in
Normal file
|
@ -0,0 +1 @@
|
|||
include *requirements.txt
|
2
setup.py
2
setup.py
|
@ -32,7 +32,7 @@ setup(
|
|||
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',
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue