ports/graphics/py-graphviz/files/patch-setup.py
Martin Wilke d5bc897059 - Fix place of install when devel/py-setuptools is installed
- Pass maintainership to submitter

PR:		ports/103564
Submitted by:	Soeren Straarup <xride@x12.dk>
2006-09-24 17:46:53 +00:00

26 lines
754 B
Python

--- setup.py.orig Sun Mar 12 23:09:05 2006
+++ setup.py Sun Sep 24 15:05:50 2006
@@ -7,13 +7,7 @@
import os
import sys
-# use setuptools if we got it, else distutils
-try:
-# import ez_setup
-# ez_setup.use_setuptools()
- from setuptools import setup, Extension
-except:
- from distutils.core import setup, Extension
+from distutils.core import setup, Extension
if sys.argv[-1] == 'setup.py':
print "To install, run 'python setup.py install'"
@@ -25,7 +19,7 @@
# If setting the prefix failed you should attempt to set the prefix here:
# prefix="/usr" # unix, Linux
-# prefix="/usr/local" # unix, alternate
+prefix="%%LOCALBASE%%" # unix, alternate
# prefix="/sw" # OSX, fink
# prefix="/opt/local" # OSX, darwin-ports?