Skip to content

Commit c467fae

Browse files
authored
Merge pull request #51 from JulesBelveze/deps/migrate-to-uv
[dependencies] - migrate to uv
2 parents 0c06b2c + 1fedd0f commit c467fae

File tree

4 files changed

+124
-1490
lines changed

4 files changed

+124
-1490
lines changed

README.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,36 @@ To clone the repository please run:
2020
git clone https://github.com/JulesBelveze/time-series-autoencoder.git
2121
```
2222

23-
To install all the required dependencies please run:
23+
<details>
2424

25+
<summary>Use [uv](https://docs.astral.sh/uv/)</summary>
26+
27+
Then install `uv`
28+
```shell
29+
# install uv
30+
curl -LsSf https://astral.sh/uv/install.sh | sh # linux/mac
31+
# or
32+
brew install uv # mac with homebrew
2533
```
26-
python3 -m venv .venv/tsa
27-
source .venv/tsa/bin/activate
28-
poetry install
34+
35+
# setup environment and install dependencies
36+
```bash
37+
cd time-series-autoencoder
38+
uv venv
39+
uv pip sync pyproject.toml
2940
```
3041

42+
</details>
43+
44+
<details>
45+
<summary>Install directly from `requirements.txt`</summary>
46+
47+
```shell
48+
pip install -r requirements.txt
49+
```
50+
51+
</details>
52+
3153
## Usage
3254

3355
The project uses [Hydra](https://hydra.cc/docs/intro/) as a configuration parser. You can simply change the parameters

0 commit comments

Comments
 (0)