3
\�T � @ s| d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ d dl m
Z
d dlT d dlm
Z
d dlmZ G d d
� d
e�ZdS )� N)�Command)�DEBUG)�get_platform)�
write_file)�*)�get_python_version)�logc + @ s� e Zd ZdZdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{d|d}d~dd�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�g)Zd4d9d=d2dUgZd4d9d=dX�ZdYdZ� Zd[d\� Zd]d^� Z d_d`� Z
dadb� Zdcdd� Zdedf� Z
dS )�� bdist_rpmzcreate an RPM distribution�bdist-base=N�/base directory for creating built distributions� rpm-base=�dbase directory for creating RPMs (defaults to "rpm" under --bdist-base; must be specified for RPM 2)� dist-dir=�d�Ddirectory to put final RPM files in (and .spec files if --spec-only)�python=�Mpath to Python interpreter to hard-code in the .spec file (default: "python")�
fix-python�Lhard-code the exact path to the current Python interpreter in the .spec file� spec-only�only regenerate spec file�source-only�only generate source RPM�binary-only�only generate binary RPM� use-bzip2�7use bzip2 instead of gzip to create source distribution�distribution-name=�gname of the (Linux) distribution to which this RPM applies (*not* the name of the module distribution!)�group=�9package classification [default: "Development/Libraries"]�release=�RPM release number�serial=�RPM serial number�vendor=�aRPM "vendor" (eg. "Joe Blow