Skip to content

Commit

Permalink
Update contributing guide for publishing
Browse files Browse the repository at this point in the history
Signed-off-by: Prithvi Kannan <[email protected]>
  • Loading branch information
prithvikannan committed Oct 25, 2024
1 parent 1e1b4d2 commit 3944f8c
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions CONTRIBUTING.md
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/*
```

0 comments on commit 3944f8c

Please sign in to comment.