Skip to content

Commit

Permalink
[requires.io] dependency update
Browse files Browse the repository at this point in the history
  • Loading branch information
requires committed Dec 13, 2018
1 parent f6d48cc commit f468e59
Showing 1 changed file with 1 addition and 17 deletions.
18 changes: 1 addition & 17 deletions setup.py
Expand Up @@ -2,7 +2,6 @@
import sys

from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand

dirname = os.path.dirname(__file__)

Expand All @@ -13,22 +12,9 @@
long_description += '\n' + f.read()


class PyTest(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = 'tests'
self.test_suite = True

def run_tests(self):
# import here, cause outside the eggs aren't loaded
import pytest
errno = pytest.main(self.test_args)
sys.exit(errno)


setup(
name='poultry',
version='1.5.0',
version='1.5.1',
description='A tweet collection manager.',
long_description=long_description,
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
Expand All @@ -41,7 +27,6 @@ def run_tests(self):
'Operating System :: Microsoft :: Windows',
'Operating System :: MacOS :: MacOS X',
'Topic :: Utilities',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
],
keywords='',
Expand All @@ -63,7 +48,6 @@ def run_tests(self):
'poultry = poultry.main:dispatch',
],
},
cmdclass={'test': PyTest},
tests_require=[
'pytest>=2.4.2',
],
Expand Down

0 comments on commit f468e59

Please sign in to comment.