Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
class Tox(TestCommand):
def finalize_options(self):
TestCommand.finalize_options(self)
self.test_args = []
self.test_suite = True
def run_tests(self):
import tox
errno = tox.cmdline(self.test_args)
exit(errno)
with open('README.rst') as reader:
readme = reader.read()
setup(
name=sortedcontainers.__title__,
version=sortedcontainers.__version__,
description='Sorted Containers -- Sorted List, Sorted Dict, Sorted Set',
long_description=readme,
author='Grant Jenks',
author_email='contact@grantjenks.com',
url='http://www.grantjenks.com/docs/sortedcontainers/',
license='Apache 2.0',
packages=['sortedcontainers'],
tests_require=['tox'],
cmdclass={'test': Tox},
install_requires=[],
classifiers=(
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Natural Language :: English',