Skip to content

Commit

Permalink
add example for local path dependancy (astral-sh#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunungpw authored Feb 21, 2024
1 parent cae5786 commit 2b6c270
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/guide/commands/add.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ $ rye add flask --git https://github.com/pallets/flask
Added flask @ git+https://github.com/pallets/flask as regular dependency
```

Add a local dependency:

```
$ rye add packagename --path path/to/packagename
Added packagename @ file:///path/to/packagename as regular dependency
```

## Arguments

* `<REQUIREMENTS>...`: The package to add as PEP 508 requirement string. e.g. 'flask==2.2.3'
Expand Down

0 comments on commit 2b6c270

Please sign in to comment.