Skip to content

Commit

Permalink
chore: Update Python source code file paths in README and Chinese tra…
Browse files Browse the repository at this point in the history
…nslation
  • Loading branch information
LyubomirT committed Jul 30, 2024
1 parent 9a858ed commit 92f2db0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ It's ️quite easy to use, actually! Just type the text you want to simulate typ

## Run from Source 🏗

To run the project from source, you need to have Python 3.6 or higher installed. You also must install the dependencies by running `pip install -r requirements.txt`. After that, you can run the project by running `python src/main.py`.
To run the project from source, you need to have Python 3.6 or higher installed. You also must install the dependencies by running `pip install -r requirements.txt`. After that, move to the `src` directory and run `python main.py` to run the project.

To build the project, you can use PyInstaller. `build.ps1` is a PowerShell script that builds the project using PyInstaller. You can run it by running `.\build.ps1`. The output will be in the `dist` folder, note that the script is configured to build a Windows executable and that you need to have PyInstaller installed.

Expand Down
3 changes: 2 additions & 1 deletion readmes/README-Chinese.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ English/英文 README [README-EN](https://github.com/LyubomirT/chainsaw-human-ty

## 从源代码运行 🏗

要从源代码运行项目,你需要安装 Python 3.6 或更高版本。你还必须通过运行`pip install -r requirements.txt`来安装依赖项。之后,你可以通过运行`python src/main.py`来运行项目。
要从源代码运行项目,你需要安装 Python 3.6 或更高版本。你还必须通过运行`pip install -r requirements.txt`来安装依赖项。之后,移动到`src`目录并运行`python main.py`来运行项目。


要构建项目,你可以使用 PyInstaller。 `build.ps1`是一个 PowerShell 脚本,用于使用 PyInstaller 生成项目。你可以通过运行`.\build.ps1`来运行它。输出将位于“dist”文件夹中,请注意,该脚本配置为构建 Windows 可执行文件,并且你需要安装 PyInstaller。
## 贡献 🤝
Expand Down

0 comments on commit 92f2db0

Please sign in to comment.