adding deps to tox
This commit is contained in:
parent
9b0b41b89e
commit
2fdc262498
@ -9,8 +9,8 @@ python:
|
||||
# - "3.6-dev" # 3.6 development branch
|
||||
# - "3.7-dev" # 3.7 development branch
|
||||
# command to install dependencies
|
||||
#install:
|
||||
# - pip install -r requirements.txt
|
||||
install:
|
||||
- pip install -r requirements.txt
|
||||
# command to run tests
|
||||
script:
|
||||
- pytest
|
||||
|
1
requirements.txt
Normal file
1
requirements.txt
Normal file
@ -0,0 +1 @@
|
||||
enum ; python_version < '3.4'
|
6
setup.py
6
setup.py
@ -21,9 +21,6 @@ class PyTest(TestCommand):
|
||||
sys.exit(errno)
|
||||
|
||||
|
||||
install_requires=["enum34;python_version<'3.4'"]
|
||||
tests_require=["pytest", "pytest_mock"] + install_requires
|
||||
|
||||
setup(
|
||||
name="pylspclient",
|
||||
version="0.0.2",
|
||||
@ -34,7 +31,6 @@ setup(
|
||||
long_description_content_type="text/markdown",
|
||||
url="https://github.com/yeger00/pylspclient",
|
||||
packages=find_packages(),
|
||||
install_requires=install_requires,
|
||||
tests_require=tests_require,
|
||||
tests_require=["pytest", "pytest_mock"],
|
||||
cmdclass={"test": PyTest},
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user