Skip to content

Commit b8e97f9

Browse files
Updated GroupDocs.Conversion to 24.12
1 parent 7be9d5c commit b8e97f9

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

Examples/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
groupdocs-conversion-net==24.12

Examples/run_all_examples.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
# Set license path
66
# os.environ["GROUPDOCS_LIC_PATH"] = "/path/to/your/license/file.lic"
77

8+
# Console output colors
9+
YELLOW = "\033[93m"
10+
GREEN = "\033[92m"
11+
RED = "\033[91m"
12+
RESET = "\033[0m"
13+
814
def print_intro():
915
intro_text = """
1016
=================================================================
@@ -95,7 +101,7 @@ def print_intro():
95101
example_path = os.path.join(current_dir, example)
96102
example_dir = os.path.dirname(example_path)
97103

98-
print(f"Running {example}...")
104+
print(f"{YELLOW}Running {example}...{RESET}")
99105
try:
100106
# Execute the example script in the current environment
101107
subprocess.run(
@@ -104,7 +110,7 @@ def print_intro():
104110
check=True,
105111
env=env
106112
)
107-
print(f"Completed {example}\n")
113+
print(f"{GREEN}Completed {example}{RESET}\n")
108114
except subprocess.CalledProcessError as e:
109-
print(f"Error running {example}: {e}\n")
115+
print(f"{RED}Error running {example}: {e}{RESET}\n")
110116

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,12 @@ GroupDocs.Conversion supports a wide range of file formats, including Word, Exce
3232
cd ./GroupDocs.Conversion-for-Python-via-.NET/Examples
3333
```
3434

35-
4. **Install Package**: Download `whl` file for your operation system from the official [GroupDocs Releases](https://releases.groupdocs.com/conversion/python-net/) website. Copy `whl` file to the `Examples` directory and install package using `pip`:
35+
4. **Install Package**: To install the package, run `pip install -r requirements.txt`. We typically keep the package up to date with the latest version. If you need to use a different package version, you can update the requirements.txt file accordingly.
36+
37+
Alternatively, you can download the `whl` file for your operating system from the official [GroupDocs Releases](https://releases.groupdocs.com/conversion/python-net/#direct-download) website. To install the package manually, copy the whl file to the `Examples` directory and run the following command:
3638

3739
```bash
38-
pip install ./groupdocs_conversion_net-24.11-py3-none-*.whl
40+
pip install ./groupdocs_conversion_net-*.whl
3941
```
4042

4143
5. **Configure License (Optional)**: If you have a license file, you can set the license path in the `run_all_examples.py` file. By default, GroupDocs.Conversion for Python via .NET checks for the `GROUPDOCS_LIC_PATH` environment variable or looks for files with the `.lic` extension in the project’s root directory. You can also [get a temporary license](https://purchase.groupdocs.com/temporary-license) to test all the features.

0 commit comments

Comments
 (0)