diff options
author | Eugeni Dodonov <eugeni@mandriva.com> | 2009-09-29 14:18:24 -0300 |
---|---|---|
committer | Eugeni Dodonov <eugeni@mandriva.com> | 2009-09-29 14:18:24 -0300 |
commit | e6aa6bf53cb954f1a937f6cafc79e4c60c172cd3 (patch) | |
tree | d3bc3b61d6e44a39a7c24ab4b970810e6ecb9e66 /setup.py | |
parent | 9795b7728134d4d939c0f364f37ac1a378de434c (diff) | |
download | net_monitor-e6aa6bf53cb954f1a937f6cafc79e4c60c172cd3.tar net_monitor-e6aa6bf53cb954f1a937f6cafc79e4c60c172cd3.tar.gz net_monitor-e6aa6bf53cb954f1a937f6cafc79e4c60c172cd3.tar.bz2 net_monitor-e6aa6bf53cb954f1a937f6cafc79e4c60c172cd3.tar.xz net_monitor-e6aa6bf53cb954f1a937f6cafc79e4c60c172cd3.zip |
converted to python module format
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2,8 +2,8 @@ from version import * from distutils.core import setup, Extension -module1 = Extension('net_monitor', - sources=['native/net_monitor.c']) +module1 = Extension('net_monitor/_native', + sources=['src/_native.c']) setup (name='net_monitor', version=version, @@ -19,5 +19,7 @@ old net_monitor from drakx-net. It supports graphical network monitoring and some advanced features, such as network profiling, activity monitoring, detailed logging and network traffic statistics with help of vnstat reporting. """, - scripts=["net_monitor"], + packages=["net_monitor"], + package_dir = {"net_monitor": "src"}, + scripts=["src/net_monitor"], ext_modules=[module1]) |