Updated setup.py to add proper pyrsync installation
The PyPI installer for pyrsync was broken, so in order to assure a proper install a workaround to fetch it from GitHub has been added. Updated tox.ini file Change-Id: Ib08dd822e04177a852d5f8846d10865e2e9417f8
This commit is contained in:
parent
ea13fd33f7
commit
192cd9dd75
7
setup.py
7
setup.py
@ -20,7 +20,7 @@ class PyTest(TestCommand):
|
||||
self.test_suite = True
|
||||
|
||||
def run_tests(self):
|
||||
#import here, cause outside the eggs aren't loaded
|
||||
# import here, cause outside the eggs aren't loaded
|
||||
import pytest
|
||||
import sys
|
||||
errno = pytest.main(self.pytest_args)
|
||||
@ -82,7 +82,10 @@ setup(
|
||||
'python-keystoneclient>=0.7.0',
|
||||
'pymysql',
|
||||
'pymongo',
|
||||
'docutils>=0.8.1'],
|
||||
'docutils>=0.8.1',
|
||||
'pyrsync'],
|
||||
dependency_links=[
|
||||
"git+https://github.com/isislovecruft/pyrsync.git#egg=pyrsync"],
|
||||
extras_require={
|
||||
'testing': ['pytest', 'flake8'],
|
||||
}
|
||||
|
1
tox.ini
1
tox.ini
@ -11,6 +11,7 @@ deps =
|
||||
pytest-cov
|
||||
pytest-xdist
|
||||
pymysql
|
||||
git+https://github.com/isislovecruft/pyrsync.git#egg=pyrsync
|
||||
|
||||
install_command = pip install -U {opts} {packages}
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
|
Loading…
x
Reference in New Issue
Block a user