setup.py revision 384
290N/A# The contents of this file are subject to the terms of the 290N/A# Common Development and Distribution License (the "License"). 290N/A# You may not use this file except in compliance with the License. 290N/A# See the License for the specific language governing permissions 290N/A# and limitations under the License. 290N/A# When distributing Covered Code, include this CDDL HEADER in each 290N/A# If applicable, add the following below this CDDL HEADER, with the 290N/A# fields enclosed by brackets "[]" replaced with your own identifying 290N/A# information: Portions Copyright [yyyy] [name of copyright owner] 290N/A# Runs lint on the extension module source code 290N/A # Make string shell-friendly 290N/A # assumes lint is on the $PATH 290N/A # Insert tests directory onto sys.path so any custom checkers 290N/A # assumes pylint is accessible on the sys.path 290N/A # specify the filenames of the scripts, in addition 290N/A # to the package names themselves 290N/A # For some reason, the load-plugins option, when used in the 290N/A # rcfile, does not work, so we put it here instead, to load 290N/A# Developer command to connect the local machine to the current 290N/A# repository's working copy's versions of the commands, modules, and supporting 290N/A "copy of files in local repository" 290N/A # It's OK to have /'s here, python figures it out when writing files 290N/A # At the end of the install function, we need to rename some files 290N/A # because distutils provides no way to rename files as they are placed 290N/A # in their install locations 290N/A # only rename manpages if building for unix-derived OS 290N/A # make scripts executable 383N/A # override the build_module method to do VERSION substitution on pkg/__init__.py 383N/A print "doing version substitution: ", v
290N/A# These are set to real values based on the platform, down below 383N/A# all builds of IPS should have manpages 290N/A # Solaris-specific extensions are added here 290N/A # Unix platforms which the elf extension has been ported to 290N/A # are specified here, so they are built automatically 290N/A # Solaris has built-in md library and Solaris-specific arch extension 290N/A # All others use OpenSSL and cross-platform arch module