Set up pytest
This commit is contained in:
pare
853ae97dcc
commit
280c60120b
S'han modificat 2 arxius amb 5 adicions i 0 eliminacions
|
@ -5,3 +5,6 @@ universal=1
|
||||||
source-dir = docs
|
source-dir = docs
|
||||||
build-dir = docs/build
|
build-dir = docs/build
|
||||||
all_files = 1
|
all_files = 1
|
||||||
|
|
||||||
|
[aliases]
|
||||||
|
test=pytest
|
||||||
|
|
2
setup.py
2
setup.py
|
@ -4,6 +4,8 @@ setup(name='Mastodon.py',
|
||||||
version='1.0.6',
|
version='1.0.6',
|
||||||
description='Python wrapper for the Mastodon API',
|
description='Python wrapper for the Mastodon API',
|
||||||
packages=['mastodon'],
|
packages=['mastodon'],
|
||||||
|
setup_requires=['pytest-runner'],
|
||||||
|
tests_require=['pytest'],
|
||||||
install_requires=['requests', 'dateutils'],
|
install_requires=['requests', 'dateutils'],
|
||||||
url='https://github.com/halcy/Mastodon.py',
|
url='https://github.com/halcy/Mastodon.py',
|
||||||
author='Lorenz Diener',
|
author='Lorenz Diener',
|
||||||
|
|
Loading…
Referencia en una nova incidència