diff --git a/.gitignore b/.gitignore index 77c604c..4536ea5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,7 @@ .* +!.editorconfig !.gitignore +!.travis.yml *.py[co] *~ *.bak diff --git a/.travis.yml b/.travis.yml index ae90a9d..58cd1d9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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: diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..e705e7e --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include *requirements.txt diff --git a/setup.py b/setup.py index 4114151..ef7c688 100644 --- a/setup.py +++ b/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', ],