Skip to content
This repository was archived by the owner on Mar 4, 2026. It is now read-only.

Commit 27713f9

Browse files
committed
setup.py: add test support for setuptools
1 parent c442e98 commit 27713f9

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

setup.cfg

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
[aliases]
2+
test=pytest
3+
14
[bdist_wheel]
25
universal=1
36

setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,8 @@
5656
keywords='packet api client',
5757
packages=['packet'],
5858
install_requires='requests',
59+
setup_requires=['pytest-runner'],
60+
tests_require=['pytest', 'requests-mock'],
5961
classifiers=[
6062
'Development Status :: 5 - Production/Stable',
6163
'Intended Audience :: Developers',

0 commit comments

Comments
 (0)