Skip to content

Commit ad27f12

Browse files
Add instructions for building a custom Python version using GitHub Actions
1 parent 5fece4d commit ad27f12

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

README.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,30 @@ This repository provides pre-built Python binaries for Linux. Follow the steps b
3838

3939
4. **Start Using Python**
4040
- You can now use the custom Python binary for your projects.
41+
42+
## Building Your Own Custom Python Version
43+
44+
This repository provides a GitHub Actions workflow to build a custom Python version. Follow the steps below to build your own version:
45+
46+
1. **Fork the Repository**
47+
- Click the "Fork" button at the top-right corner of this repository to create your own copy.
48+
49+
2. **Navigate to Actions**
50+
- Go to the "Actions" tab in your forked repository.
51+
52+
3. **Trigger the Workflow**
53+
- Select the "Build and Release Python Binary" workflow from the list.
54+
- Click the "Run workflow" button.
55+
- Provide the desired Python version (e.g., `3.11.7`) in the input field.
56+
- Click "Run workflow" to start the build process.
57+
58+
4. **Wait for the Build to Complete**
59+
- The workflow will compile the specified Python version with optimizations and create binary archives.
60+
61+
5. **Download the Artifacts**
62+
- Once the workflow completes, navigate to the "Actions" tab.
63+
- Select the completed workflow run.
64+
- Download the generated binary files from the "Artifacts" section.
65+
66+
6. **Use the Binary**
67+
- Follow the instructions in the "Usage" section above to extract and use the custom Python binary.

0 commit comments

Comments
 (0)