Skip to content

Commit

Permalink
separated gui installation to be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
rpakishore committed Mar 7, 2024
1 parent c6f3b00 commit 71efdd1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,28 @@ Clone repo and Install with flit
git clone https://github.com/rpakishore/ak_sap.git
cd ak_sap
pip install flit
flit install --deps production
```

- If you want just the base package:

```bash
flit install --deps production
```

- Alternatively, if you also want to include the optional streamlit gui:

```bash
flit install --deps production --extras gui
```

##### 2.2.1.3. Install from Pypi release

```bash
pip install ak_sap
```

Note: The Pypi version does not ship with the optional streamlit gui

#### 2.2.2. Development

Download the git and install via flit
Expand Down
5 changes: 4 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ dev = [
"ipywidgets",
"pandasgui",
"line-profiler",
"pytest==7.4.3",
"pytest==7.4.3"
]

gui = [
"streamlit==1.31.0",
"hilti_profis==0.0.3"
]
Expand Down

0 comments on commit 71efdd1

Please sign in to comment.