0x1949 Team - FAZEMRX - MANAGER
Edit File: build_meta.pyc
� �C�^c @ sv d Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l Z d d l m Z d d l m Z d d l m Z d d d d d d d g Z d e f d � � YZ d e j j f d � � YZ d � Z d � Z d � Z d � Z d e f d � � YZ d e f d � � YZ e � Z e j Z e j Z e j Z e j Z e j Z e � Z! d S( s- A PEP 517 interface to setuptools Previously, when a user or a command line tool (let's call it a "frontend") needed to make a request of setuptools to take a certain action, for example, generating a list of installation requirements, the frontend would would call "setup.py egg_info" or "setup.py bdist_wheel" on the command line. PEP 517 defines a different method of interfacing with setuptools. Rather than calling "setup.py" directly, the frontend should: 1. Set the current directory to the directory with a setup.py file 2. Import this module into a safe python interpreter (one in which setuptools can potentially set global variables or crash hard). 3. Call one of the functions defined in PEP 517. What each function does is defined in PEP 517. However, here is a "casual" definition of the functions (this definition should not be relied on for bug reports or API stability): - `build_wheel`: build a wheel in the folder and return the basename - `get_requires_for_build_wheel`: get the `setup_requires` to build - `prepare_metadata_for_build_wheel`: get the `install_requires` - `build_sdist`: build an sdist in the folder and return the basename - `get_requires_for_build_sdist`: get the `setup_requires` to build Again, this is not a formal definition! Just a "taste" of the module. i����N( t TemporaryDirectory( t parse_requirements( t makedirst get_requires_for_build_sdistt get_requires_for_build_wheelt prepare_metadata_for_build_wheelt build_wheelt build_sdistt __legacy__t SetupRequirementsErrorc B s e Z d � Z RS( c C s | | _ d S( N( t specifiers( t selfR ( ( s9 /usr/lib/python2.7/dist-packages/setuptools/build_meta.pyt __init__4 s ( t __name__t __module__R ( ( ( s9 /usr/lib/python2.7/dist-packages/setuptools/build_meta.pyR 3 s t Distributionc B s) e Z d � Z e e j d � � � Z RS( c C s+ t t t t | � � � } t | � � d S( N( t listt mapt strR R ( R R t specifier_list( ( s9 /usr/lib/python2.7/dist-packages/setuptools/build_meta.pyt fetch_build_eggs9 s c c s5 t j j } | t j _ z d VWd | t j _ Xd S( sw Replace distutils.dist.Distribution with this class for the duration of this context. N( t distutilst coreR ( t clst orig( ( s9 /usr/lib/python2.7/dist-packages/setuptools/build_meta.pyt patch>