]>
Commit | Line | Data |
---|---|---|
3608c106 UH |
1 | from distutils.core import setup, Extension |
2 | ||
3 | fx2_mod = Extension ( | |
4 | '_fx2', | |
5 | sources=['cpp/fx2.cpp', 'cpp/fx2.i'], | |
6 | swig_opts=['-c++'], | |
7 | include_dirs = ['/usr/include/python2.5'], | |
8 | libraries = ['usb-1.0'] | |
9 | ) | |
10 | ||
11 | ||
12 | setup( | |
13 | name='fx2', | |
14 | version='0.2', | |
15 | ext_modules=[fx2_mod], | |
16 | scripts=['scripts/fx2load'], | |
17 | packages=['fx2load','fx2'], | |
18 | package_dir={'fx2':'cpp'} | |
19 | ) |