Skip to content

Commit

Permalink
Release installation fixes #40
Browse files Browse the repository at this point in the history
  • Loading branch information
Dronakurl committed Jun 14, 2023
1 parent 6848e78 commit 8a79413
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 134 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
openai.log
__pycache__
.env
Archiv
Expand Down
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ Usage
How to install
--------------

- Install the latest version with `pip`
- Install the latest release version with `pip`

.. code-block:: console
pip install 'git+https://github.com/Dronakurl/storytime.git#egg=storytime_ai[extras]'
pip install 'git+https://github.com/Dronakurl/storytime.git@0.2.0#egg=storytime_ai[extras]'
- Set environment variable with openai api key (optional)

Expand Down
4 changes: 2 additions & 2 deletions docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ deactivate; rm -rf venv;
## Installation of storytime_ai package from github repository

```
deactivate; mkdir /tmp/test; cd /tmp/test; rm -rf venv
deactivate; rm -fr /tmp/test/venv; mkdir /tmp/test; cd /tmp/test; rm -rf venv
python -m venv venv; source venv/bin/activate
pip install 'git+https://github.com/Dronakurl/storytime.git#egg=storytime_ai[extras]'
pip install 'git+https://github.com/Dronakurl/storytime.git@0.2.0#egg=storytime_ai[extras]'
python -c "from storytime_ai import Story; Story.from_markdown_file('/home/konrad/storytime/storytime_ai/templates/minimal.md').check_integrity()"
python -c "from importlib.metadata import version; print(version('storytime_ai'))"
Expand Down
1 change: 1 addition & 0 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ How to install
.. code-block:: console
pip install 'git+https://github.com/Dronakurl/storytime.git#egg=storytime_ai[extras]'
pip install 'git+https://github.com/Dronakurl/storytime/releases/tag/0.2.0#egg=storytime_ai[extras]'
- Set environment variable with openai api key (optional)

Expand Down
Loading

0 comments on commit 8a79413

Please sign in to comment.