| distribute-install_component. Extras_Require¿¡ ³ª¿µÈ ±¸¼º ¿ä¼Ò¸¦ ¼³Ä¡ÇÏ·Á¸é È®Àå È®ÀåÀÚ ¹èÆ÷ |
Áö±Ý ´Ù¿î·Îµå |
distribute-install_component. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Other/Proprietary Li...
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- https://bitbucket.org/lordmauve/
distribute-install_component. ű×
distribute-install_component. ¼³¸í
distribute-install_component´Â extras_require¿¡ ³ª¿µÈ Ãß°¡ ±¸¼º ¿ä¼Ò¿Í »óÈ£ ÀÛ¿ëÇϵµ·Ï ¸í·ÉÀ» Ãß°¡ÇÕ´Ï´Ù. ¿¹¸¦ µé¾î, ¼³Á¤ (name = "project-a", ... extras_require = { 'pdf')¸¦ Æ÷ÇÔÇÏ´Â setup.py¸¦ ÀÛ¼ºÇÒ ¼ö ÀÖ½À´Ï´Ù. , 'rest': ,}) ±×·± ´ÙÀ½ distribute-install_component¸¦ »ç¿ëÇϸé write : python setup.py install_component pdf resto À̵éÀÌ ÇÊ¿ä¿¡ ÇÊ¿äÇÑ Á¾¼Ó¼ºÀ» ¼³Ä¡ÇÕ´Ï´Ù. features.commandline argumentsInstall_Component´Â Á¾¼Ó¼ºÀ» ¼³Ä¡ÇÏ´Â ±¸¼º ¿ä¼Ò ¸ñ·ÏÀ» °¡Á®¿É´Ï´Ù. À̰͵éÀº packageÀÇ extras_require ¼½¼Ç¿¡ ³ª¿µÇ¾î¾ßÇÕ´Ï´Ù .The -l ¿É¼ÇÀº »ç¿ë °¡´ÉÇÑ ±¸¼º ¿ä¼Ò¸¦ ³ª¿ÇÏ´Â µ¥ »ç¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù. ÆÐÅ°Áö¿¡¼ »ç¿ëÇÒ ¼öÀÖ´Â packageto-install_component¸¦ ±¸¼ºÇϸé setup.py:setup¿¡¼ setup_requires¿¡ Ãß°¡ ÇÒ ¼ö ÀÖ½À´Ï´Ù. (name = 'myProject', ... setup_requires = ) Distribute-install_requires¸¦ »ç¿ëÇÏ¿© ¹®¼ ºô´õ ¶Ç´Â Å×½ºÆ® ÆÐÅ°Áö¿Í °°Àº °³¹ß Á¾¼Ó¼ºÀ» Á¦°ø ÇÒ ¼ö ÀÖ½À´Ï´Ù. ¼³Á¤ (name = 'myProject', ..) . setup_requires = , 'docs': ,}) ±×·± ´ÙÀ½ Á¤»óÀûÀÎ »ç¿ëÀÚ´Â Python Setup.py Install Will °³¹ßÀÚ°¡ Python Setup.py °³¹ß install_component Å×½ºÆ® DocsProductÀÇ È¨ÆäÀÌÁö¸¦ ½ÇÇàÇÒ ¼ö ÀÖ½À´Ï´Ù.
distribute-install_component. °ü·Ã ¼ÒÇÁÆ®¿þ¾î