Skip to content

Commit

Permalink
Remove PyTest dependency in production (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
aramirezmartin authored Oct 19, 2020
1 parent 6811c4c commit 9d5d3d5
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 9 deletions.
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,13 @@ __pycache__/
/build/
/dist/
vt_py.egg-info
.eggs

/docs/build/doctrees

# VirtualEnv
/venv

# IntelliJ
*.iml
/.idea
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ python:
install:
- python setup.py install
script:
- pytest
- python setup.py test
deploy:
provider: pypi
user: plusvic
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[aliases]
test=pytest
10 changes: 3 additions & 7 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@
if sys.version_info < (3, 6, 0):
raise RuntimeError('vt-py requires Python 3.6.0+')

install_requires = [
'aiohttp',
'pytest',
'pytest_httpserver',
]

setuptools.setup(
name='vt-py',
version=main_ns['__version__'],
Expand All @@ -41,7 +35,9 @@
url='https://github.com/VirusTotal/vt-py',
packages=['vt'],
python_requires='>=3.6.0',
install_requires=install_requires,
install_requires=['aiohttp'],
setup_requires=['pytest-runner'],
tests_require=['pytest', 'pytest_httpserver', 'pytest_asyncio'],
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: Apache Software License',
Expand Down
2 changes: 1 addition & 1 deletion vt/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.5.4'
__version__ = '0.6.1'

0 comments on commit 9d5d3d5

Please sign in to comment.