freebsd-ports/devel/py-pefile/files/patch-setup.py
Wen Heping 2339933fbf - Update to 1.2.10-89
- Patch setup.py to prevent problems when setuptools installed

PR:		ports/152072
Submitted by:	Sofian Brabez <sbrabez@gmail.com>
Approved by:	maintainer
2010-11-10 03:17:51 +00:00

15 lines
324 B
Python

--- ./setup.py.orig 2010-11-09 12:03:46.000000000 +0100
+++ ./setup.py 2010-11-09 12:04:29.000000000 +0100
@@ -1,10 +1,7 @@
#!/usr/bin/env python
-try:
- from setuptools import setup
-except ImportError, excp:
- from distutils.core import setup
-
+from distutils.core import setup
+
import pefile
import os