%build
# xxx fixme
# this is where we chose which flavour of bwlimit gets shipped
-cp bwlimit_lxc.py bwlimit.py
+cp plnode/bwlimit_lxc.py plnode/bwlimit.py
python setup.py build
%install
%build
# xxx fixme
# this is where we chose which flavour of bwlimit gets shipped
-cp bwlimit_vs.py bwlimit.py
+cp plnode/bwlimit_vs.py plnode/bwlimit.py
python setup.py build
%install
import shutil
from distutils.core import setup
-scripts = [ "bwlimit" ]
+scripts = [ "bin/bwlimit" ]
# xxx fixme
# for now we only have bwlimit.py and its flavour is selected in the main specfile
# that copies the right bwlimit_xxx.py into bwlimit.py
setup(name='plnode',
- package_dir={'plnode':'.'},
- py_modules = [ 'bwlimit' ] ,
+ py_modules = [ 'plnode.bwlimit' ] ,
scripts = scripts)