diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml new file mode 100644 index 00000000..9fee3e38 --- /dev/null +++ b/.github/workflows/publish.yml @@ -0,0 +1,21 @@ +name: Publish to PyPI.org +on: + release: + types: [published] +jobs: + pypi: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Set up Python + uses: actions/setup-python@v5 + with: + python-version: '3.10' + - run: python3 -m pip install --upgrade build && python3 -m build + - name: Publish package + uses: pypa/gh-action-pypi-publish@release/v1 + with: + password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..0c5a4336 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,8 @@ +[build-system] +requires = ["setuptools>=61.0", "setuptools_scm>=8"] +build-backend = "setuptools.build_meta" + +[project] +dynamic = ["version"] + +[tool.setuptools_scm] \ No newline at end of file diff --git a/setup.py b/setup.py index f8905925..7a309034 100644 --- a/setup.py +++ b/setup.py @@ -9,25 +9,19 @@ version='0.1.0', author='VRSEN', author_email='arseny9795@gmail.com', - description='Replace your own agency with an agent swarm.', + description='An opensource agent orchestration frameworks built on top of the latest OpenAI Assistants API.', long_description=open('README.md').read(), long_description_content_type='text/markdown', url='https://github.com/VRSEN/agency-swarm', packages=find_packages(), install_requires=requirements, classifiers=[ - # Classifiers help users find your project by categorizing it - 'Development Status :: 3 - Alpha', # Change as appropriate 'Intended Audience :: Developers', 'Topic :: Software Development :: Build Tools', - 'License :: OSI Approved :: MIT License', # Choose the appropriate license - 'Programming Language :: Python :: 3', # Specify which pyhton versions you support - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', + 'License :: OSI Approved :: MIT License', ], entry_points = { 'console_scripts': ['agency-swarm=agency_swarm.cli:main'], }, - python_requires='>=3.7', # Specify the Python version requirements + python_requires='>=3.7', )