From 39251596ea52c1d2f61134598ace1eeec522ea47 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Thu, 10 Mar 2016 09:22:40 -0500 Subject: [PATCH] Fixes for running atomic on python3 --- Atomic/top.py | 2 +- Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Atomic/top.py b/Atomic/top.py index 2b2f555..4feb72e 100644 --- a/Atomic/top.py +++ b/Atomic/top.py @@ -7,7 +7,7 @@ import select from os import isatty from operator import itemgetter import requests -from atomic import NoDockerDaemon +from .util import NoDockerDaemon class Top(Atomic): diff --git a/Makefile b/Makefile index 7ba680a..09468ad 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ PROFILEDIR ?= $(DESTDIR)/etc/profile.d PYTHON ?= /usr/bin/python PYLINT ?= /usr/bin/pylint GO_MD2MAN ?= /usr/bin/go-md2man -PYTHONSITELIB=$(shell $(PYTHON) -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)") +PYTHONSITELIB=$(shell $(PYTHON) -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(0))") VERSION=$(shell $(PYTHON) setup.py --version) .PHONY: all