summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py15
1 files changed, 15 insertions, 0 deletions
diff --git a/setup.py b/setup.py
new file mode 100644
index 0000000..d78b7bb
--- /dev/null
+++ b/setup.py
@@ -0,0 +1,15 @@
+#!/usr/bin/python2
+
+from distutils.core import setup, Extension
+
+ethtool = Extension('ethtool',
+ sources = ['python-ethtool/ethtool.c'])
+
+# don't reformat this line, Makefile parses it
+setup(name='ethtool',
+ version='0.1',
+ description='Python module to interface with ethtool',
+ author='Harald Hoyer & Arnaldo Carvalho de Melo',
+ author_email='acme@redhat.com',
+ url='http://fedoraproject.org/wiki/python-ethtool',
+ ext_modules=[ethtool])