Repository URL to install this package:
|
Version:
0.1.0 ▾
|
duedil-python
/
setup.py
|
|---|
from setuptools import find_packages, setup
from setuptools.command.test import test as TestCommand
import sys
class PyTest(TestCommand):
user_options = []
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = []
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run(self):
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)
version = '0.1.0'
setup(name='duedil-python',
version=version,
description="A Duedil API client in Python",
packages=find_packages(exclude=['tests']),
include_package_data=True,
zip_safe=False,
install_requires=[
'requests>=2,<3',
'six==1.9.0'
],
cmdclass={'test': PyTest},
tests_require=[
'coverage==3.7.1',
'coveralls==0.5',
'requests>=2,<3',
'six==1.9.0',
'requests-mock==0.6.0',
'mock==1.0.1',
'pytest==2.6.4'],
)