æå°æ
build instruction (setup.py or pyproject.toml) ãããGitHubã¬ãã¸ããªã«å¯¾ãã¦
pip install git+https://github.com/bkvogel/griffin_lim
以ä¸ã
pipã¨ãã¼ã¸ã§ã³ç®¡çã·ã¹ãã
pipã¯ãã¼ã¸ã§ã³ç®¡çã·ã¹ãã /VCSããã®installã«å¯¾å¿ãã¦ãã.
対å¿ã·ã¹ãã ã¯Git, Mercurial, Subversion, Bazaar 1
ã³ãã³ãã¨è¦å
Gitããã¨ã£ã¦ãããã«ã³ãã³ãã¯
pyproject.tomlã®å ´å
# formal pip install [-e] vcs+protocol://repo_url # expamle pip install git+https://github.com/tarepan/installwithpip
setup.pyã®å ´å
# formal pip install [-e] vcs+protocol://repo_url/#egg=<project name>-<version>&subdirectory=pkg_dir # expamle pip install git+https://github.com/tarepan/installwithpip#egg=mygithubpack&subdirectory=packs
次ã®ããã«ãªã£ã¦ãã
- vcs: ãã¼ã¸ã§ã³ç®¡çã·ã¹ãã åãä¾ãã°git
- protocol://repo_url/ : ã¬ãã¸ããªã®URL. URLæ¬ãã³ããããã°ãã
egg=
- - installããããã®ã«ä¸ããããããã±ã¼ã¸å&ãã¼ã¸ã§ã³ã ã¨æã£ã¦ããããæåãéããsetup.pyãããã±ã¼ã¸åçã¯ã³ã³ããã¼ã«
- subdirectory=pkg_dir: setup.pyãç½®ãã¦ãããã£ã¬ã¯ããªã®path
æ´æ°
æ´æ°ããéã¯åãinstallã³ãã³ãã--upgradeãå ±ã«å®è¡ããã°ok
references
-
pip supports installing from Git, Mercurial, Subversion and Bazaar, and detects the type of VCS using url prefixes: âgit+â, âhg+â, âbzr+â, âsvn+â. ↩