From 5a4b3f6eea057c3fcd88b395e89339ef50e9af71 Mon Sep 17 00:00:00 2001 From: Qingyun Wu Date: Mon, 11 Nov 2024 18:58:59 -0800 Subject: [PATCH] package --- .github/workflows/python-package.yml | 11 +++++++++++ README.md | 2 +- setup.py | 4 ++-- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 09253b20b8..822a2bdda5 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -54,6 +54,17 @@ jobs: TWINE_PASSWORD: ${{ secrets.AUTOGEN_PYPI_PASSWORD }} shell: pwsh run: twine upload dist/autogen* + - name: Build ag2 + shell: pwsh + run: | + pip install twine + python setup.py sdist bdist_wheel --name "ag2" + - name: Publish ag2 to PyPI + env: + TWINE_USERNAME: ${{ secrets.AUTOGEN_PYPI_USERNAME }} + TWINE_PASSWORD: ${{ secrets.AUTOGEN_PYPI_PASSWORD }} + shell: pwsh + run: twine upload dist/autogen* - name: Build pyautogen shell: pwsh run: | diff --git a/README.md b/README.md index e33c8be5b1..c84e3b2309 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ > :fire: :tada: Nov 11, 2024: We are evolving AutoGen into AG2! A new organization [ag2ai](https://github.com/ag2ai) is created to host the development of AG2 and related projects with open governance. We invite collaborators from all organizations and individuals to join the development. -:fire: :tada: Sep 06, 2024: AG2 is available via `ag2` (or its alias `autogen` or `pyautogen`) on PyPI! Starting with version 0.3.3, you can now install AG2 using: +:fire: :tada: AG2 is available via `ag2` (or its alias `autogen` or `pyautogen`) on PyPI! Starting with version 0.3.2, you can now install AG2 using: ``` pip install ag2 ``` diff --git a/setup.py b/setup.py index c53adfc77e..735a89f07d 100644 --- a/setup.py +++ b/setup.py @@ -114,14 +114,14 @@ sys.argv.pop(index) # Removes --name package_name = sys.argv.pop(index) # Removes the value after --name else: - package_name = "autogen" + package_name = "ag2" setuptools.setup( name=package_name, version=__version__, author="Chi Wang & Qingyun Wu", - author_email="auto-gen@outlook.com", + author_email="support@ag2.ai", description="A programming framework for agentic AI", long_description=long_description, long_description_content_type="text/markdown",