3
\Â ã @ sÄ d Z ddlZddlZddlZddlmZ yddlZW n ek
rL dZY nX ddlT ddl m
Z
mZ ddlm
Z
mZmZ ddlmZ ddlmZ ejd ƒZG d
d„ dƒZG dd
„ d
ƒZdd„ ZdS )z}distutils.dist
Provides the Distribution class, which represents the module distribution
being built/installed/distributed.
é N)Úmessage_from_file)Ú*)ÚFancyGetoptÚtranslate_longopt)Ú
check_environÚ strtoboolÚ
rfc822_escape)Úlog)ÚDEBUGz^[a-zA-Z]([a-zA-Z0-9_]*)$c @ sp e Zd ZdZd~dd€d�d‚gZdZdƒd„d…d†d‡dˆd‰dŠd‹dŒd�dŽd�d�d‘d’d“d”d•d–d—gZd>d?„ eD ƒZddiZd˜d@dA„Z dBdC„ Z
d™dEdF„ZdGdH„ ZdšdIdJ„Z
dKdL„ ZdMdN„ ZdOdP„ ZdQdR„ Zddg fdSdT„ZdUdV„ ZdWdX„ ZdYdZ„ Zd[d\„ Zd]d^„ Zd_d`„ Zd›dadb„Zdœdcdd„Zd�dfdg„Zejfdhdi„Zdjdk„ Zdldm„ Z dndo„ Z!dpdq„ Z"drds„ Z#dtdu„ Z$dvdw„ Z%dxdy„ Z&dzd{„ Z'd|d}„ Z(dS )žÚDistributiona½ The core of the Distutils. Most of the work hiding behind 'setup'
is really done within a Distribution instance, which farms the work out
to the Distutils commands specified on the command line.
Setup scripts will almost never instantiate Distribution directly,
unless the 'setup()' function is totally inadequate to their needs.
However, it is conceivable that a setup script might wish to subclass
Distribution for some specialized purpose, and then pass the subclass
to 'setup()' as the 'distclass' keyword argument. If so, it is
necessary to respect the expectations that 'setup' has of Distribution.
See the code for 'setup()', in core.py, for details.
ÚverboseÚvúrun verbosely (default)é ÚquietÚqú!run quietly (turns verbosity off)údry-runÚnúdon't actually do anythingÚhelpÚhúshow detailed help messageúno-user-cfgNú-ignore pydistutils.cfg in your home directoryz£Common commands: (see '--help-commands' for more)
setup.py build will build the package underneath 'build/'
setup.py install will install the package
ú
help-commandsúlist all available commandsÚnameúprint package nameÚversionÚVúprint package versionÚfullnameúprint