Skip to content

Commit

Permalink
Cosmetic clean up in setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaszn committed Apr 12, 2021
1 parent f782bf7 commit 8b873b8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@

import batch_requests

from setuptools import setup
from setuptools import setup, Command


class PyTest(Command):
'''
A command handler for setup.py test.
'''
user_options = []

def initialize_options(self):
pass

Expand All @@ -22,10 +23,10 @@ def finalize_options(self):

def run(self):
import subprocess
import sys
errno = subprocess.call('py.test --cov-report html --cov batch_requests tests/', shell=True)
raise SystemExit(errno)


name = 'django-batch-requests'
version = batch_requests.__version__
package = 'batch_requests'
Expand Down

0 comments on commit 8b873b8

Please # to comment.