You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
refactor: Rename requirements.in to requirements.txt. (#2619)
Rename requirements.in to requirements.txt. It is a more standard way to manage Python dependencies, it can be recognized automatically by some IDEs.
Add environment setup section to README for running hermetic build scripts.
Copy file name to clipboardExpand all lines: library_generation/README.md
+16-10
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,8 @@ google-cloud-java) from a configuration file.
10
10
- Java runtime environment (8 or above)
11
11
- Apache Maven (used in formatting source code)
12
12
- Python (3.11.6 or above)
13
+
- Docker
14
+
- Git
13
15
14
16
## Prerequisite
15
17
@@ -188,22 +190,26 @@ libraries:
188
190
- proto_path: google/cloud/asset/v1p7beta1
189
191
```
190
192
193
+
# Local Environment Setup before running `entry_point.py`
194
+
195
+
1. Assuming Python 3 is installed, follow official guide from [Python.org](https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#create-and-use-virtual-environments) to create a virtual environment. The virtual environment can be installed to any folder, usually it is recommended to be installed under the root folder of the project(`sdk-platform-java` in this case).
196
+
2. Assuming the virtual environment is installed under `sdk-platform-java`. Run the following command under the root folder of `sdk-platform-java` to install the dependencies of `library_generation`
0 commit comments