Skip to content

Commit

Permalink
Docs, Build: Add pip-based installation guide and update requirements…
Browse files Browse the repository at this point in the history
….txt (#42)
  • Loading branch information
skytin1004 authored Oct 10, 2024
1 parent 8682eab commit 97cfbdf
Show file tree
Hide file tree
Showing 2 changed files with 83 additions and 14 deletions.
12 changes: 10 additions & 2 deletions getting_started/install-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ After creating the virtual environment, you'll need to activate it. The steps di
- Windows:

```bash
venv\Scripts\activate.bat
.venv\Scripts\activate.bat
```

- Mac/Linux:

```bash
source venv/bin/activate
source .venv/bin/activate
```

#### Using Poetry
Expand All @@ -48,6 +48,14 @@ After creating the virtual environment, you'll need to activate it. The steps di

Once your virtual environment is set up and activated, the next step is to install the necessary dependencies.

#### Using pip (from requirements.txt)

1. If you're using pip, type the following command inside your terminal. It will automatically install the required packages specified in the `requirements.txt` file:
```bash
pip install -r requirements.txt
```
#### Using Poetry (from pyproject.toml)
1. If you're using Poetry, type the following command inside your terminal. It will automatically install the required packages specified in the `pyproject.toml` file:
Expand Down
85 changes: 73 additions & 12 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,73 @@
azure-ai-inference
azure-identity
pandas
numpy
ipykernel
jupyter
python-dotenv
azure-cognitiveservices-vision-computervision
matplotlib
pillow
openai
co-op-translator
# Core dependencies
annotated-types~=0.7.0
anyio~=4.4.0
appnope~=0.1.4
asttokens~=2.4.1
azure-ai-vision-imageanalysis~=1.0.0b2
azure-cognitiveservices-vision-computervision~=0.9.0
azure-common~=1.1.28
azure-core~=1.30.2
certifi~=2024.6.2
charset-normalizer~=3.3.2
click~=8.1.7
comm~=0.2.2
contourpy~=1.2.1
cycler~=0.12.1
decorator~=5.1.1
distro~=1.9.0
executing~=2.0.1
fonttools~=4.53.0
h11~=0.14.0
httpcore~=1.0.5
httpx~=0.27.0
idna~=3.7
isodate~=0.6.1
jedi~=0.19.1
kiwisolver~=1.4.5
matplotlib~=3.9.0
matplotlib-inline~=0.1.7
msrest~=0.7.1
numpy~=1.25.2
oauthlib~=3.2.2
openai~=1.33.0
opencv-python~=4.10.0.82
packaging~=24.1
parso~=0.8.4
pexpect~=4.9.0
pillow~=10.3.0
platformdirs~=4.2.2
prompt_toolkit~=3.0.47
psutil~=5.9.8
ptyprocess~=0.7.0
pure-eval~=0.2.2
pydantic~=2.7.3
pydantic_core~=2.18.4
pyparsing~=3.1.2
python-dateutil~=2.9.0.post0
python-dotenv~=1.0.1
pyyaml~=6.0.2
pyzmq~=26.0.3
requests~=2.32.3
requests-oauthlib~=2.0.0
semantic_kernel~=1.8.3
six~=1.16.0
sniffio~=1.3.1
stack-data~=0.6.3
tiktoken~=0.7.0
tornado~=6.4.1
tqdm~=4.66.4
traitlets~=5.14.3
typing_extensions~=4.12.2
urllib3~=2.2.1
wcwidth~=0.2.13

# Development dependencies
pytest~=8.3.2
ipykernel~=6.29.4
ipython~=8.25.0
jupyter_client~=8.6.2
jupyter_core~=5.7.2
nest-asyncio~=1.6.0
debugpy~=1.8.1
stack-data~=0.6.3
Pygments~=2.18.0

0 comments on commit 97cfbdf

Please sign in to comment.