We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f782bf7 commit 8b873b8Copy full SHA for 8b873b8
setup.py
@@ -6,14 +6,15 @@
6
7
import batch_requests
8
9
-from setuptools import setup
10
from setuptools import setup, Command
11
+
12
class PyTest(Command):
13
'''
14
A command handler for setup.py test.
15
16
user_options = []
17
18
def initialize_options(self):
19
pass
20
@@ -22,10 +23,10 @@ def finalize_options(self):
22
23
24
def run(self):
25
import subprocess
- import sys
26
errno = subprocess.call('py.test --cov-report html --cov batch_requests tests/', shell=True)
27
raise SystemExit(errno)
28
29
30
name = 'django-batch-requests'
31
version = batch_requests.__version__
32
package = 'batch_requests'
0 commit comments