Skip to content

Commit 0dfb534

Browse files
committed
Closes #435 - build.py error on Windows
1 parent 9538bf7 commit 0dfb534

File tree

3 files changed

+16
-87
lines changed

3 files changed

+16
-87
lines changed

README.rst

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,31 @@
11
파이썬 한국어 번역
22
==========================
33

4-
현재 혹은 가까운 미래의 안정판만을 번역하고, 현재는 3.7 입니다. 번역은 3.7 브랜치에 들어있고, master 브랜치에는 번역 작업을 보조하는 도구들이 들어있습니다.
4+
현재 혹은 가까운 미래의 안정판만을 번역하고, 현재는 3.7입니다. 번역은 3.7 브랜치에 들어있고, master 브랜치에는 번역 작업을 보조하는 파일들이 들어있습니다.
55

66
번역팀에 문의가 있으신 분들은 https://www.flowdas.com/pages/python-docs-ko.html 를 참고 바랍니다.
77

88
교정을 위한 프리뷰 빌드하기
99
---------------------------------------
1010

11-
저장소를 fork 한 후에 git clone 하면 master 브랜치의 작업 사본이 만들어집니다. 이 디렉토리에서 다음과 같은 명령을 실행합니다.
11+
프리뷰를 빌드하려면 git 와 docker 가 설치되어 있어야 합니다.
12+
13+
먼저 저장소를 fork 한 후에, 작업 공간을 다음과 같은 절차로 준비합니다.
1214

1315
::
1416

15-
python3 -m venv venv
16-
venv/bin/python -m pip install -r requirements.txt
17-
./build.py
17+
python3.7 -m venv <work-dir>
18+
cd <work-dir>
19+
source bin/activate
20+
pip install python-docs-ko
21+
pdk init <your-python-docs-ko-fork>
22+
23+
이제 ``<work_dir>/python-docs-ko`` 디렉터리에 여러분의 fork가 git clone 되었습니다.
24+
``*.po`` 파일을 번역합니다.
1825

19-
이제 ``cpython/Doc/build/html/index.html`` 에 프리뷰 파일이 만들어집니다.
26+
빌드는 다음과 같은 명령을 사용합니다::
2027

21-
한편 ``cpython/locale/ko/LC_MESSAGES`` 디렉토리에는 여러분이 fork 한 저장소의 3.7 브랜치의 작업 사본이 만들어집니다.
28+
pdk build
2229

23-
이제 ``cpython/locale/ko/LC_MESSAGES`` 디렉토리의 파일들을 번역한 후에, ``./build.py`` 를 실행하면 프리뷰가 업데이트 됩니다.
30+
31+
이제 ``<work_dir>/html/index.html`` 를 브라우저로 열면 됩니다.

build.py

Lines changed: 0 additions & 57 deletions
This file was deleted.

requirements.txt

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)