-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update contributing guide for publishing
Signed-off-by: Prithvi Kannan <[email protected]>
- Loading branch information
1 parent
1e1b4d2
commit 3944f8c
Showing
1 changed file
with
26 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,34 @@ | ||
Setting up dev environment | ||
# Contributor's Guide | ||
|
||
## Setting up dev environment | ||
|
||
Create a conda environement and install dev requirements | ||
|
||
``` | ||
```sh | ||
conda create --name databricks-ai-dev-env python=3.10 | ||
conda activate databricks-ai-dev-env | ||
pip install -e ".[dev]" | ||
pip install -r requirements/lint-requirements.txt | ||
``` | ||
|
||
## Publishing to PyPI | ||
|
||
Note: this section is for maitainers only. | ||
|
||
We recommend first uploading to test-PyPI | ||
|
||
### Publishing core package | ||
|
||
|
||
```sh | ||
python3 -m build --wheel | ||
twine upload dist/* | ||
``` | ||
|
||
### Publishing integration packages | ||
|
||
```sh | ||
cd integrations/langchain | ||
python3 -m build --wheel | ||
twine upload dist/* | ||
``` |