Ë
    øGìjà  ã                   óž  — d Z ddlZddlZddlZddlZdZej                  j                  ej                  j                  e	«      «      Z
dZej                  j                  e
e«      Zej                  j                  ed«      Zd„ Zd„ Z e«         ej"                  ded	d
dddd ej$                  e¬«      dei ed«      dg d¢dg d¢¬«       y)as  Copyright 2020-2022 The MediaPipe Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Setup for Mediapipe-Model-Maker package with setuptools.
é    NÚdevÚpip_srcÚmediapipe_model_makerc                 ó  — t        t        j                  j                  t        | «      «      5 }|D �cg c]3  }|j                  «       s!|j                  d«      s|j                  «       ‘Œ5 c}cd d d «       S c c}w # 1 sw Y   y xY w)NÚ#)ÚopenÚosÚpathÚjoinÚMM_ROOT_PATHÚisspaceÚ
startswithÚrstrip)r
   ÚfÚlines      ú_C:\Users\Stabi\Downloads\virtual-tryon(1)\venv\Lib\site-packages\mediapipe/model_maker/setup.pyÚ_parse_requirementsr       sh   € ÜŒB�G‰G�L‰Lœ tÓ,Ô-°ñ óáˆDØ—‘” $§/¡/°#Ô"6ð 	�‰�Øñ÷ .Ñ-ùò÷ .Ð-ús   ®A<³8A7Á+A<Á7A<Á<Bc                  ó~  — t         j                  j                  t        «      rt	        j
                  t        «       t        j                  dd¬«      } | j                  d«       | D ]¼  }d|v rŒt         j                  j                  t        |«      }t        |d«      5 }|j                  «       }ddd«       j                  dd	«      }t        j                  t         j                  j                  |«      d¬
«       t        |d«      5 }|j                  |«       ddd«       Œ¾ y# 1 sw Y   ŒxxY w# 1 sw Y   ŒÕxY w)aÞ  Setup the BUILD_DIR directory to build the mediapipe_model_maker package.

  We need to create a new BUILD_DIR directory because any references to the path
  `mediapipe/model_maker` needs to be renamed to `mediapipe_model_maker` to
  avoid conflicting with the mediapipe package name.
  This setup function performs the following actions:
  1. Copy python source code into BUILD_DIR and rename imports to
    mediapipe_model_maker
  2. Download models from GCS into BUILD_DIR
  zpython/**/*.pyT)Ú	recursivez__init__.pyz_test.pyÚrNzfrom mediapipe.model_makerzfrom mediapipe_model_maker)Úexist_okÚw)r	   r
   ÚexistsÚ	BUILD_DIRÚshutilÚrmtreeÚglobÚappendr   ÚBUILD_MM_DIRr   ÚreadÚreplaceÚmakedirsÚdirnameÚwrite)Úpython_filesÚpython_fileÚbuild_target_fileÚfileÚfiledatas        r   Ú_setup_build_dirr*   )   sì   € ô ‡W�W‡^�^”IÔÜ
‡M�M”)ÔÜ—‘Ð+°tÔ<€,Ø×Ñ�mÔ$Û!€kà�[Ñ ØÜŸ™Ÿ™¤\°;Ó?ÐÜ	ˆk˜3Ô	 4Ø—‘“€h÷ 
 ð ×ÑÐ <Ø <ó>€Hä‡K�K”—‘—‘Ð 1Ó2¸TÕBÜ	Ð Ô	%¨Ø
‡j�j�Ô÷ 
&Ð	%ñ "÷
 
 Ð	ú÷ 
&Ð	%ús   ÂD'Ä
D3Ä'D0	Ä3D<	zmediapipe-model-makerzEhttps://github.com/google/mediapipe/tree/master/mediapipe/model_makerzXMediaPipe Model Maker is a simple, low-code solution for customizing on-device ML modelszThe MediaPipe Authorszmediapipe@google.comÚ ztext/markdown)Úwherezrequirements.txtT)zDevelopment Status :: 3 - AlphazIntended Audience :: DeveloperszIntended Audience :: Educationz%Intended Audience :: Science/Researchz2License :: OSI Approved :: Apache Software Licensez$Operating System :: MacOS :: MacOS Xz(Operating System :: Microsoft :: Windowsz"Operating System :: POSIX :: Linuxz%Programming Language :: Python :: 3.8z%Programming Language :: Python :: 3.9z&Programming Language :: Python :: 3.10z+Programming Language :: Python :: 3 :: OnlyzTopic :: Scientific/Engineeringz:Topic :: Scientific/Engineering :: Artificial IntelligencezTopic :: Software Developmentz*Topic :: Software Development :: Librariesz<Topic :: Software Development :: Libraries :: Python Modulesz
Apache 2.0)Ú	mediapipeÚmodelÚmaker)ÚnameÚversionÚurlÚdescriptionÚauthorÚauthor_emailÚlong_descriptionÚlong_description_content_typeÚpackagesÚpackage_dirÚinstall_requiresÚinclude_package_dataÚclassifiersÚlicenseÚkeywords)Ú__doc__r   r	   r   Ú
setuptoolsÚ__version__r
   r#   ÚabspathÚ__file__r   ÚSRC_NAMEr   r   r   r   r*   ÚsetupÚfind_packages© ó    r   Ú<module>rI      s×   ðñó" Û 	Û Û ð €Ø�w‰w�‰˜rŸw™wŸ™¨xÓ8Ó9€à€Ø�G‰G�L‰L˜ xÓ0€	Ø�w‰w�|‰|˜IÐ'>Ó?€òòñ< Ô à €
× Ñ Ø	 ØØOØjØ"Ø'ØØ"1Ø%ˆZ×%Ñ%¨HÔ5Ø�X�Ù(Ð);Ó<Øòð& Ú,öC"rH   