λ΄ pip κ³ μ μΆλ ₯μ λ€μκ³Ό κ°μ μ€μ΄ μμ΅λλ€.
-e [email protected]:widgets.git@3bdaf7d07c44a87c38beb1e8abd163a7edf99adc#egg=widgets
-e [email protected]:[email protected]#egg=gadgets
κ·Έκ²μ μκ°μ΄ μ¬ λ μ¬μ©νμ¬ μ€μΉνκΈ° pip install -r requirements.txt
κ° κ·Έ μ£Όμ¬μλ₯Ό μλͺ» μλ³ νμ example.com:[email protected]
κ·Έλ₯ν΄μΌ κ·Έκ²μ μ¬μ€ λ§ν λμ μ μ₯μμ μ 체 URLλ‘ example.com:gadgets.git
λ€μμν΄μΌ 3bda...99adc 컀λ°μ νμΈνμμμ€.
pip freeze μΆλ ₯μ μ¬μ©νμ¬ μ€μΉνλ €κ³ νλ©΄, μλ₯Ό λ€μ΄
pip install -e [email protected]:[email protected]#egg=gadgets
κ°μ μ€λ₯κ° λ°μν©λλ€.
μ΄κ²μ λͺ¨λ pip 1.5.4λ₯Ό μ¬μ©νλ κ²μ λλ€.
λ€μκ³Ό κ°μ΄ λ³κ²½νλ©΄ μ¬λ°λ₯΄κ² μλν©λλ€.
pip install -e [email protected]:/path/to/project/[email protected]#egg=project
λλ
pip install -e [email protected]:project.git#egg=project
νμμμλ λΆλͺ ν νμ¬ μ»€λ°λ§ νμ νκ³ 3bdafμ μ§μ λ 컀λ°μ νμ§ μμ κ²μ λλ€β¦
λν λ΄κ° μ΄ν΄ν μ μλ μ΄μ λ‘ githubμ λν μμ²μ λν΄ _does_ μλν©λλ€.
그건,
pip install -e [email protected]:JordanReiter/[email protected]#egg=github_project
곡μ₯.
μ΄κ²μ #6293κ³Ό μ μ¬ν©λλ€. νμ(stdlib urlsplit
κΈ°λ°)λ URLμ /
κ° μ ν ν¬ν¨λμ§ μμ κ²½μ° URLμ κ²½λ‘ λΆλΆμ μλ³νλ λ° λ¬Έμ κ° μμΌλ©° +
λ€μ μ 체λ₯Ό netloc
.revκ° μλ λ³νμ netloc
λ° path
κ° λμ€μ λ€μ κ²°ν©λμ΄ Gitμ μ λ¬λκΈ° λλ¬Έμ μμ ν μ°μ°ν μλν©λλ€(μλμΌλ‘ μ¬λ°λ₯Έ μμ
μ μνν¨).
#6293μ λ
Όμλ SCP μ€νμΌ URL μ§μμ μμ ν μ€λ¨νλ κ²μ μ νΈνλ κ² κ°μΌλ―λ‘ μ¬κΈ°μ λ λμ ν΄κ²°μ±
μ pip freeze
κ° λμ git+ssh://
URLμ λ±μ΄λ΄λ κ²μ
λλ€.
#7554μμ git+git@
μμμ μ κ±°νκΈ°λ‘ μ μνλ©΄μ μ’
λ£ν©λλ€.