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.6-dev" # 3.6 development branch
|
||||||
# - "3.7-dev" # 3.7 development branch
|
# - "3.7-dev" # 3.7 development branch
|
||||||
# command to install dependencies
|
# command to install dependencies
|
||||||
#install:
|
install:
|
||||||
# - pip install -r requirements.txt
|
- pip install -r requirements.txt
|
||||||
# command to run tests
|
# command to run tests
|
||||||
script:
|
script:
|
||||||
- pytest
|
- 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)
|
sys.exit(errno)
|
||||||
|
|
||||||
|
|
||||||
install_requires=["enum34;python_version<'3.4'"]
|
|
||||||
tests_require=["pytest", "pytest_mock"] + install_requires
|
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name="pylspclient",
|
name="pylspclient",
|
||||||
version="0.0.2",
|
version="0.0.2",
|
||||||
@ -34,7 +31,6 @@ setup(
|
|||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
url="https://github.com/yeger00/pylspclient",
|
url="https://github.com/yeger00/pylspclient",
|
||||||
packages=find_packages(),
|
packages=find_packages(),
|
||||||
install_requires=install_requires,
|
tests_require=["pytest", "pytest_mock"],
|
||||||
tests_require=tests_require,
|
|
||||||
cmdclass={"test": PyTest},
|
cmdclass={"test": PyTest},
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user