15. Don’t use sudo pip
• django 1.5 requires more setting or you
cannot runserver
• You may broken a lot of service such as
review board
13年8月11日星期日
16. Caution
• Don’t install your programing language’s
package into system’s
• UseYUM for system wide package
• Use virtual environment as developing
• avoid by:
• export
PIP_REQUIRE_VIRTUALENV=true
13年8月11日星期日
17. After finish your code
• How To Package to python package
• Package To RPM via python package
13年8月11日星期日
19. The confusing history
• distutils in stdlib is the core of package
• setuptools is an enhancement of distutils
• Distribute is a fork from setuptools
• Distribute is merged to setuptools o_O
• distutil is too basic and risky to refactor
• distutil2 is delayed.
13年8月11日星期日
29. Quick Guides
• Use setuptools and get easy_install
• Use PIP, use pip to install nearly everything
• UseVirtual Env to protect environment
• Buildout (with system dependency)
13年8月11日星期日