Skip to content

Commit

Permalink
[feat] Rename from roleplay to llm-roleplay, remove pypi upload action
Browse files Browse the repository at this point in the history
  • Loading branch information
tamohannes committed Jul 3, 2024
1 parent d194b06 commit c7943db
Show file tree
Hide file tree
Showing 23 changed files with 4 additions and 26 deletions.
22 changes: 0 additions & 22 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,25 +67,3 @@ jobs:
pylint --disable=trailing-whitespace,missing-class-docstring,missing-final-newline,trailing-newlines \
--fail-under=9.0 \
$(git ls-files '*.py') || echo "::warning::Pylint check failed, but the workflow will continue."
python-build-n-publish:
name: Build and publish Python distribution
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
git fetch --all --tags
python setup.py sdist bdist_wheel
twine upload --verbose dist/*
1 change: 1 addition & 0 deletions llm_roleplay/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.0.2
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from urartu.common.action import Action
from urartu.common.dataset import Dataset

from roleplay.common.persona import Persona
from llm_roleplay.common.persona import Persona


class Roleplay(Action):
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion roleplay/VERSION

This file was deleted.

4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

here = os.path.abspath(os.path.dirname(__file__))

version_file = os.path.join(here, "roleplay", "VERSION")
version_file = os.path.join(here, "llm_roleplay", "VERSION")
with open(version_file) as vf:
__version__ = vf.read().strip()

Expand All @@ -14,7 +14,7 @@
requirements = f.read().splitlines()

# Package info
NAME = "roleplay"
NAME = "llm-roleplay"
DESCRIPTION = "LLM Roleplay: Simulating Human-Chatbot Interaction"
VERSION = __version__
REQUIRES_PYTHON = ">=3.9.0"
Expand Down

0 comments on commit c7943db

Please sign in to comment.