From ca84cdc7a8f3dbb2d2c1bbb9a5106c9b045c5f6a Mon Sep 17 00:00:00 2001 From: Joe Smith Date: Tue, 7 Oct 2014 12:41:42 -0700 Subject: [PATCH 1/2] Move from distutils to setuptools to allow for egg building --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0827b58..3fff9c2 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ # $Id: setup.py 47 2010-08-25 19:07:28Z aweil $ import sys, os -from distutils.core import setup, Extension +from setuptools import setup, Extension import distutils.ccompiler import distutils.errors From 8f4fd7fbee83790f267349475e4044b3d6d7b2b5 Mon Sep 17 00:00:00 2001 From: Joe Smith Date: Wed, 7 Jan 2015 18:35:36 -0800 Subject: [PATCH 2/2] Do not need extra distutils imports --- setup.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/setup.py b/setup.py index 3fff9c2..fdb2221 100644 --- a/setup.py +++ b/setup.py @@ -2,8 +2,6 @@ import sys, os from setuptools import setup, Extension -import distutils.ccompiler -import distutils.errors PACKAGE_NAME = 'pcapy'