From: Adam T. <aa-...@us...> - 2022-01-06 18:13:29
|
@Takeshi KOMIYA Pip can install from a git subdirectory (https://pip.pypa.io/en/stable/topics/vcs-support/#url-fragments) -- this should work: `python -m pip install git+https://repo.or.cz/docutils.git#subdirectory=docutils` A ------- tested: ```powershell PS S:\Development\docutils-git-test> python -V Python 3.9.7 PS S:\Development\docutils-git-test> python -m venv venv PS S:\Development\docutils-git-test> .\venv\Scripts\Activate.ps1 (venv) PS S:\Development\docutils-git-test> python -m pip install --upgrade --quiet pip (venv) PS S:\Development\docutils-git-test> python -m pip -V pip 21.3.1 from S:\Development\docutils-git-test\venv\lib\site-packages\pip (python 3.9) (venv) PS S:\Development\docutils-git-test> python -m pip install git+https://repo.or.cz/docutils.git#subdirectory=docutils Collecting git+https://repo.or.cz/docutils.git#subdirectory=docutils Cloning https://repo.or.cz/docutils.git to z:\users\adam\pip-req-build-vfs5w0kd Running command git clone --filter=blob:none -q https://repo.or.cz/docutils.git 'Z:\Users\Adam\pip-req-build-vfs5w0kd' warning: filtering not recognized by server, ignoring Resolved https://repo.or.cz/docutils.git to commit 3e71d462b39f828cc612b64cd5bd5c804099a968 Preparing metadata (setup.py) ... done Using legacy 'setup.py install' for docutils, since package 'wheel' is not installed. Installing collected packages: docutils Running setup.py install for docutils ... done Successfully installed docutils-0.19b0.dev0 (venv) PS S:\Development\docutils-git-test> python -c "import docutils; print(docutils.__version__)" 0.19b.dev ``` --- ** [patches:#189] Remove 'prest'** **Status:** open **Group:** None **Created:** Thu Jan 06, 2022 02:23 PM UTC by Adam Turner **Last Updated:** Thu Jan 06, 2022 02:49 PM UTC **Owner:** nobody xref sourceforge.net/p/docutils/mailman/message/36748625 -- an earlier attempt. It has now been 11 years (08/12/2010), and no changes. The code will remain in the souce control history should anyone want to revive it. The first commit removes all the files under /prest and the second removes a final reference in the docs. This code was quite confusing to me when I was first looking throuh the Docutils source tree - I hestitated to contribute for a while as I thought I might need to know Perl or need to translate any contributions. As a current contributor, when searching through the full codebase, there are spurious results from prest that are annoying -- not insurmountable, but a common annoyance, and I think dropping this would solve both issues of clarity (Docutils is purely a Python project) and developer experience. A https://github.com/AA-Turner/docutils/pull/5 // https://github.com/AA-Turner/docutils/pull/5.patch --- Sent from sourceforge.net because doc...@li... is subscribed to https://sourceforge.net/p/docutils/patches/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/patches/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |