ã¯ããã« ããã«ã¡ã¯ãPythonçã®æ å¼±ã§ããæè¿ã¯ã以åã«æ¯ã¹ã¦Pythonã触ã人ãå¢ãã¦ãããããªå°è±¡ã§ãããããã§ãããeasy_installã ãããvirtualenvã ã¨è¨ããã¦ããã©ããã£ã¦è¨å®ãããããããããªããã¨ããçºè¨ãã¡ãã»ãè¦ããã¦ãã¾ãã ã§ãã¶ã£ã¡ããè¶ ç°¡åãªã®ã§ãã¨ããããåãã¦Pythonã®ç°å¢è¨å®ãã人ã¯ãããã³ããã§åããã¦ä¸ããã (2017.01.26追è¨) 注æï¼ãã®è¨äºã¯ããå¤ãã®ã§ãPython2ããã¾ãã使ãå§ãããªãã¦ããå¥ç¹ãªäººä»¥å¤ã¯æ¬¡ã®è¨äºãèªãã§ä¸ããã ymotongpoo.hatenablog.com è¦ç¹ ã¯ã¾ãã©ããã¯å¤å次ã®ã©ããã ã¨æã Pythonã®ãã¼ã¸ã§ã³ãã©ã使ã£ã¦ãããããããªã ãeasy_installã使ããã¨è¨ããããeasy_installã¨ããããã±ã¼ã¸ãè¦ã¤ãããªã virtualenvã®å ¥ã
ã¯ããã« ããã«ã¡ã¯ãPythonçã®æ å¼±ã§ããæè¿ã¯è²ã ã¨Pythonã®éçºç°å¢ãå¤åãã¦ãã¦ãã¦ãããããPython2.xã¨Python3.xãè¡ãæ¥ããªããéçºããä½å¶ãæ´ã£ã¦ããã¨ããå°è±¡ãåãã¦ãã¾ãããããã°ããã¯è²ã ã¨è©¦ãã¦ããã®ã§ãããããããéæ¿ã£ã½ãæ¹æ³ã«ãã©ãçããã®ã§ã¡ã¢ãã¦ããã¾ãã ãªããå¾åã¯Pythonã«éããªãå 容ãªã®ã§ãä»ã®LLã使ã£ã¦ãã¦ã使ãããããªã¨æã£ã¦ãã¾ãããã®ç°å¢ãè¨å®ããã¨ä½ãã§ããã®ãã¨ããã¨ã以ä¸ã®ãã¨ãã¹ã¦ããç¡æã§ãèªé¯ãç«ã¦ããã¨ãªãè¡ãã¾ãã éçºç°å¢ã®æ´çï¼virtualenvï¼ ãã¼ã«ã«ã§ã®è¤æ°ç°å¢ã®ãã¹ã容æåï¼tox+pytestï¼ CIã«ãããã¹ãï¼Travis-CIï¼ ããã¥ã¡ã³ãã®èªåãã«ãããã³ããã¥ã¡ã³ãã®å ¬éï¼ReadTheDocsï¼ æ¦è¦ ã¨ããããå ¨ä½åãå ã«å ±æãã¦ããã¾ããã¡ãã£ã¨ã§ããã§ãããäº
virtualenvwrapper 2.6.1¶ virtualenvwrapper 㯠Ian Bicking ã® virtualenv ãã¼ã«ã®æ¡å¼µæ©è½ã§ãããã®æ¡å¼µæ©è½ã¯ä»®æ³ç°å¢ã®ä½æã»åé¤ãè¡ã£ãããéçºã¯ã¼ã¯ããã¼ã管çããã©ããã¼ãæä¾ãã¾ãããã®ã©ããã¼ã使ç¨ãããã¨ã§ãéçºç°å¢ã®ä¾åã«ãã競åãçºçãããã1ã¤ä»¥ä¸ã®ããã¸ã§ã¯ãã§åæã«ä½æ¥ãæããªãã¾ãã æ©è½Â¶ 1ã¤ã®éçºç°å¢ã§å ¨ã¦ã®ä»®æ³ç°å¢ãæ§æãã ä»®æ³ç°å¢ã管ç(ä½æãåé¤ãã³ãã¼)ããã©ããã¼ ãã£ã1ã¤ã®ã³ãã³ãã§ä»®æ³ç°å¢ãåãæ¿ãã ã³ãã³ãã®å¼æ°ã¨ãã¦ä»®æ³ç°å¢ãã¿ãè£å®ã§ãã å ¨ã¦ã®æä½ã«å¯¾ãã¦ã¦ã¼ã¶è¨å®ã§ããã¯ã§ãã(ã¦ã¼ã¶ã«ã¹ã¿ãã¤ãº ãåç §) ããã«å ±æå¯è½ãªæ¡å¼µæ©è½ãä½æã§ãããã©ã°ã¤ã³ã·ã¹ãã (virtualenvwrapper ãæ¡å¼µãã ãåç §) å ¥é¶ virtualenvwrapper ã
GT Nitro: Car Game Drag Raceã¯ãå ¸åçãªã«ã¼ã²ã¼ã ã§ã¯ããã¾ãããããã¯ã¹ãã¼ãããã¯ã¼ãã¹ãã«å ¨éã®ã«ã¼ã¬ã¼ã¹ã²ã¼ã ã§ãããã¬ã¼ãã¯å¿ãã¦ãããã¯ãã©ãã°ã¬ã¼ã¹ããã¤ãã¼ï¼å¤å ¸çãªã¯ã©ã·ãã¯ããæªæ¥çãªãã¼ã¹ãã¾ã§ãæãã¯ã¼ã«ã§éãè»ã¨ã«ã¼ã¬ã¼ã¹ã§ãã¾ããã¹ãã£ãã¯ã·ããããã¹ã¿ã¼ããããããè³¢ã使ã£ã¦ç«¶äºãæã¡ç ´ãå¿ è¦ãããã¾ãããã®ã«ã¼ã¬ã¼ã¹ã²ã¼ã ã¯ãã®ãªã¢ã«ãªç©çå¦ã¨ç´ æ´ãããã°ã©ãã£ãã¯ã¹ã§ããªãã®å¿ãççºããã¾ããããã¾ã§ãã¬ã¤ãããã¨ã®ãªããããªãã®ã§ãã GT Nitroã¯ããªãã¬ãã¯ã¹ã¨ã¿ã¤ãã³ã°ã試ãã«ã¼ã¬ã¼ã¹ã²ã¼ã ã§ããæ£ããç¬éã«ã®ã¢ãã·ããããã¬ã¹ãæãåãè¸ãå¿ è¦ãããã¾ããã¾ãã大ç©ãã¡ã¨ç«¶ãã¤ã¤ãè»ã®ãã¥ã¼ãã³ã°ã¨ã¢ããã°ã¬ã¼ããè¡ããªããã°ãªãã¾ãããä¸çä¸ã§æé«ã®ãã©ã¤ãã¼ã¨è»ã¨ã«ã¼ã¬ã¼ã¹ã«æããã¨ã«ãªãããã©ãã°ã¬ã¼ã¹ã®çå
distutils, setuptools, distribute, pip, virtualenv, buildout åæ²Â¶ http://www.freia.jp/taka/blog/691 (2010/12/5) ã®æ´æ°çã åããã±ã¼ã¸ã®ç¨éã¨æ¦è¦Â¶ distutils¶ Python ã®æ¨æºããã±ã¼ã¸ã§ããeggã¯ä½ãã¾ãããã python setup.py build ãããã python setup.py install ãããã python setup.py register ... ã§PyPIã«ããã±ã¼ã¸ãæ°è¦ç»é²åºæ¥ãããã«ãªã£ããã python setup.py bdist sdist upload ã§ããã±ã¼ã¸ãã¡ã¤ã«ãã¢ãããã¼ãããããã¨ãã£ãæ©è½ãæä¾ããã¦ãã¾ãã 詳ãã㯠Pythonã®ããã¥ã¢ã« ãåç §ã®ãã¨...ã setuptools¶ s
ããããã¸ã§ã¯ãã®ä¾åã¯ç¹å®ãªãã¼ã¸ã§ã³ãããªãã¨ãã¡ãªå ´åãçµæ§å¤ãã¨æãã¾ããã©ãæè¿ãpythonã®ä»®æ³ç°å¢ãç°¡åã«ä½ããããã«ãªãã¾ãããvirtualenv 㨠virtualenvwrapper 㨠pip ã®çµã¿åãããç´¹ä»ãã¾ãã virtualenvã¯ç°å¢ãä½ã£ã¦ãããã©ã¤ãã©ãªã§ãvirtualenvwrapperã¯ãã®ä½ã£ãç°å¢ãç°¡åã«ç®¡çãã¦ããããã¼ã«ã«ãªãã¾ãã ã¾ããvirtualenv 㨠virtualenvwrapper ãã¤ã³ã¹ãã¼ã«.
ããã ãPythonãããã ã¨æã£ããã©ãPython 3ã¨Python 2ã«ã¯å¾æ¹äºæãããã¾ããããããªãPythonã®ãã¼ã¸ã§ã³ãåãæ¿ããä»çµã¿ã欲ããã§ãããã£ã¦ãã¨ã§èª¿ã¹ã¦ã¿ãã¨ãããpythonbrewã¨virtualenvãçµã¿åããã¦ä½¿ããã©ã¤ãã©ãªã®ç®¡çã»ã¤ã³ã¹ãã¼ã«ã¯pipãããã¯distributeã使ãããã«ãã·ã¹ãã ã¨ãã¦buildoutã使ããã¨ããã®ãè¯ããã§ãã ã¨ãããã¨ã§ãMacã§Pythonã¾ããã®éçºç°å¢ãä½ã£ãã¨ãã®ã¡ã¢ã§ãã 第ï¼å ã¯ããã« (ãã®è¨äº)ï¼ http://toggtc.hatenablog.com/entry/2012/02/06/023342 第ï¼å pythonbrewã¨Pythonã®ã¤ã³ã¹ãã¼ã«ï¼ http://toggtc.hatenablog.com/entry/2012/02/06/023652 第ï¼å ä»®æ³ç°å¢
注æ ãã®å 容ã¯ãã§ã«å¤ããªã£ã¦ãã¾ãã pipã®ä½¿ãæ¹ (2014/1ãã¼ã¸ã§ã³) ãåç §ãã¦ãã ããã pipã¨ã¯ãPythonã«ãããããã±ã¼ã¸ç®¡çã·ã¹ãã ã§ããeasy_installã¨ãããã¼ã«ãããã®ã§ãããpipã¯ãã®easy_installãç½®ãæãããã®ã¨ãã¦éçºããã¦ãã¾ããrubyã®gemãperlã®cpançãªä½ç½®ã¥ãã§ãã åãããã±ã¼ã¸ç®¡çãã¼ã«ã¨ãã¦setuptoolsç½®ãæãã®distributeã¨ãããã®ãããã®ã§ããããã¡ãã¯setuptoolså ¨ä½ãç½®ãæãããã®ã¨ãã¦éçºããã¦ãããpipã¯setuptoolsã®ä¸é¨ã§ããeasy_installãç½®ãæããå½¢ã§ãã ãªããç¾å¨ã®pipã®ãã¼ã¸ã§ã³ã¯0.8.2ã§ããã®ã¨ã³ããªã¯ãã®ãã¼ã¸ã§ã³ã使ã£ã¦ãã¾ãã ãªã«ãããããç¹ãããã°ããææãã ããã > èè ã®æ¹ã pipã®install ã¾ãã¯ea
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}