diff options
| author | Marc Abramowitz <marc@marc-abramowitz.com> | 2012-05-14 17:14:46 -0700 |
|---|---|---|
| committer | Marc Abramowitz <marc@marc-abramowitz.com> | 2012-05-14 17:14:46 -0700 |
| commit | d807c603466d05a2288f3bde8454f331084a6649 (patch) | |
| tree | 8843e1789520f334fa750c3db04b14cb73b34f14 /setup.py | |
| parent | e8c923d7121da21cb96eedd68710c37f5c9b471f (diff) | |
| download | tablib-d807c603466d05a2288f3bde8454f331084a6649.tar.gz | |
Tweak setup.py for py.test (pytest?)
Diffstat (limited to 'setup.py')
| -rwxr-xr-x | setup.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -33,7 +33,7 @@ if sys.argv[-1] == 'test': print('py.test required.') sys.exit(1) - os.system('pytest test_tablib.py') + os.system('py.test test_tablib.py') sys.exit() setup( @@ -70,4 +70,5 @@ setup( 'Programming Language :: Python :: 3.1', 'Programming Language :: Python :: 3.2', ), + tests_require=['pytest'], ) |
