|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../setuptools/parse-config
|
|
|
|
# Copyright (C) 2006 - 2009 The OpenSDE Project
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; version 2 of the License. A copy of the
|
|
|
|
# GNU General Public License can be found in the file COPYING.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
if hasflag SETUPTOOLS; then
|
|
|
|
pkgprefix -t python
|
|
|
|
eazyinstall_pth=$( pkgprefix libdir python )/python$( pkgprefix ver python |
|
|
|
|
cut -d'.' -f1,2 )/site-packages/easy-install.pth
|
|
|
|
|
|
|
|
var_append flistdel "|" "${eazyinstall_pth#/}"
|
|
|
|
unset eazyinstall_pth
|
|
|
|
|
|
|
|
var_append pyconfopt ' ' '--single-version-externally-managed'
|
|
|
|
var_append pyconfopt ' ' "--root=$root/"
|
|
|
|
fi
|