Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
duedil-python / setup.py
Size: Mime:
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'],
      )