Tox Examples
def add(x, y):
return x+y
from setuptools import setup
setup(name='mymath',
version='0.2',
description='The best math library',
url='http://github.com/szabgab/mymath',
author='Foo Bar',
author_email='foo@bar.com',
license='MIT',
packages=['mymath'],
zip_safe=False,
requires=[
],
long_description='Long description',
scripts=[],
)
import mymath
def test_add():
assert mymath.add(2, 3) == 5
{% embed include file="src/examples/tox/tox.ini)