X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=setup.py;h=24f939c9535256a1944a9d4ab198a750a46210ec;hb=refs%2Fheads%2Fmaster;hp=5993ca41678bdfd87f20fd848a628912b554589e;hpb=06b336cca325b03155a8afa79e99531e75d0e7f2;p=pyplnet.git diff --git a/setup.py b/setup.py index 5993ca4..24f939c 100644 --- a/setup.py +++ b/setup.py @@ -1,15 +1,15 @@ -#!/usr/bin/python +#!/usr/bin/python3 # # Setup script for pyplnet # # Daniel Hokka Zakrisson # Copyright (C) 2008 The Trustees of Princeton University # -# $Id$ -# + +# pylint: disable=c0111, c0103 import os -from distutils.core import setup, Extension +from distutils.core import setup from distutils.cmd import Command from distutils.command.sdist import sdist @@ -39,7 +39,7 @@ class bdist_rpmspec(Command): if self.rpmdef is not None: command.extend(["--define", self.rpmdef]) command.append(sdist.get_archive_files()[0]) - print "running '%s'" % "' '".join(command) + print("running '%s'" % "' '".join(command)) if not self.dry_run: os.spawnvp(os.P_WAIT, "rpmbuild", command) @@ -47,9 +47,9 @@ setup( name='pyplnet', version='4.3', py_modules=[ - 'plnet', - 'modprobe', - 'sioc', + 'plnet', + 'modprobe', + 'sioc', ], cmdclass={'sdist': my_sdist, 'bdist_rpmspec': bdist_rpmspec}, - ) +)