--- setup.py.orig Thu Feb 2 09:01:31 2006 +++ setup.py Fri Feb 10 12:19:00 2006 @@ -23,10 +23,7 @@ import glob, os, sys -from ez_setup import use_setuptools -use_setuptools() - -from setuptools import setup, Extension +from distutils.core import setup, Extension, Command # If you need to change anything, it should be enough to change setup.cfg.
--- setup.py.orig 2010-06-25 10:22:29.000000000 +0800 +++ setup.py 2010-06-25 10:22:39.000000000 +0800 @@ -1,6 +1,4 @@ #!/usr/bin/env python -from distribute_setup import use_setuptools -use_setuptools(version="0.6.17") from setuptools import setup, find_packages import os
--- ./setup.py.orig 2013-11-27 16:51:22.144320041 -0200 +++ ./setup.py 2013-11-27 16:51:29.013319136 -0200 @@ -4,7 +4,6 @@ import os import re -from distribute_setup import use_setuptools; use_setuptools() from setuptools import setup, find_packages
--- ./setup.py.orig 2012-05-26 03:11:35.000000000 +1000 +++ ./setup.py 2012-05-26 03:11:46.000000000 +1000 @@ -1,9 +1,5 @@ #!/usr/bin/env python -# Ensure that a reasonably recent version of 'distribute' is installed. -from distribute_setup import use_setuptools -use_setuptools('0.6.10') - from setuptools import setup import rsa
--- ./setup.py.orig 2013-11-27 16:59:40.606322333 -0200 +++ ./setup.py 2013-11-27 17:00:06.922319988 -0200 @@ -3,11 +3,6 @@ # Copyright (c) The PyAMF Project. # See LICENSE.txt for details. -from distribute_setup import use_setuptools - -# 15 seconds is far too long .... -use_setuptools(download_delay=3) - # import ordering is important import setupinfo from setuptools import setup, find_packages
--- ./setup.py.orig 2014-01-06 14:49:25.000000000 +0200 +++ ./setup.py 2014-01-07 13:42:57.722830400 +0200 @@ -1,12 +1,6 @@ #!/usr/bin/env python import os import sys -if sys.version_info >= (3, 0): - from distribute_setup import use_setuptools -else: - from ez_setup import use_setuptools - -use_setuptools() from setuptools import setup from distutils.core import Extension @@ -74,7 +68,7 @@ extra_compile_args = compile_args, extra_link_args = link_args, )], - py_modules = ["yappi", "distribute_setup", "ez_setup"], + py_modules = ["yappi"], entry_points = { 'console_scripts': [ 'yappi = yappi:main',