aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2015-09-12 20:53:58 +0200
committerPapoteur <papoteur@mageialinux-online.org>2015-09-12 20:53:58 +0200
commita6b91aaeca1fca121b12293df6d52eb6cebc4306 (patch)
tree13342bb1932af47166083d48ea77d2838b7c92d1
parent7dc6f893276fd4f3452b9524459bf7f58c564936 (diff)
downloadnet_monitor-a6b91aaeca1fca121b12293df6d52eb6cebc4306.tar
net_monitor-a6b91aaeca1fca121b12293df6d52eb6cebc4306.tar.gz
net_monitor-a6b91aaeca1fca121b12293df6d52eb6cebc4306.tar.bz2
net_monitor-a6b91aaeca1fca121b12293df6d52eb6cebc4306.tar.xz
net_monitor-a6b91aaeca1fca121b12293df6d52eb6cebc4306.zip
Adaptation for the build in Python 3
-rw-r--r--Makefile4
-rw-r--r--setup.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index f3e8436..6479735 100644
--- a/Makefile
+++ b/Makefile
@@ -8,13 +8,13 @@ version:
echo "version='$(VERSION)'" > version.py
python:
- python setup.py build
+ python3 setup.py build
clean:
-find . -name '*.o' -o -name '*.py[oc]' -o -name '*~' | xargs rm -f
install: all
- python setup.py install --root=$(RPM_BUILD_ROOT)/
+ python3 setup.py install --root=$(RPM_BUILD_ROOT)/
make -C po DESTDIR=$(RPM_BUILD_ROOT)/usr install
install -d $(RPM_BUILD_ROOT)/etc/sysconfig/network-scripts/ifup.d
install -d $(RPM_BUILD_ROOT)/etc/sysconfig/network-scripts/ifdown.d
diff --git a/setup.py b/setup.py
index fdd32bf..e139e06 100644
--- a/setup.py
+++ b/setup.py
@@ -9,8 +9,8 @@ setup (name='net_monitor',
version=version,
description='Mandriva network monitoring tool',
author="Eugeni Dodonov",
- author_email="eugeni@mandriva.com",
- url="http://www.mandriva.com",
+ author_email="",
+ url="",
license="GPL",
long_description=
"""\