Skip to content

Commit 6be8980

Browse files
committed
Set up tox
1 parent ad8d1f2 commit 6be8980

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
from setuptools import Extension, setup
22

33
c_extension = Extension(
4-
sources="example.cpp",
4+
name="reverser",
5+
sources=["example.cpp"],
56
language="cpp"
67
)
78

tox.ini

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
[tox]
2+
envlist=py35
3+
[testenv]
4+
deps=pytest
5+
commands=pytest

0 commit comments

Comments
 (0)