문서의 선택한 두 판 사이의 차이를 보여줍니다.
양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
python:pip [2013/08/28 23:07] kwon37xi [requirements.txt] |
python:pip [2024/01/04 09:07] (현재) kwon37xi |
||
---|---|---|---|
줄 1: | 줄 1: | ||
====== PIP ====== | ====== PIP ====== | ||
* http:// | * http:// | ||
+ | * [[python: | ||
+ | * [[http:// | ||
* easy_install 대체로 나온 패키지 설치 관리자. | * easy_install 대체로 나온 패키지 설치 관리자. | ||
+ | * [[python: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | |||
===== requirements.txt ===== | ===== requirements.txt ===== | ||
줄 9: | 줄 13: | ||
* 아래와 같은 형태로 파일을 작성해 두면 의존성을 한번에 pip로 설치할 수 있다. | * 아래와 같은 형태로 파일을 작성해 두면 의존성을 한번에 pip로 설치할 수 있다. | ||
* '' | * '' | ||
- | 앱이름 | ||
Framework==0.9.4 | Framework==0.9.4 | ||
Library> | Library> | ||
줄 15: | 줄 18: | ||
* 실행 <code sh> | * 실행 <code sh> | ||
pip install -r requirements.txt | pip install -r requirements.txt | ||
+ | </ | ||
+ | * 현재 Python 환경의 의존성을 모두 모으기< | ||
+ | pip freeze > requirements.txt | ||
</ | </ | ||