Skip to content

Commit

Permalink
Added pypi workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
VRSEN committed Jan 19, 2024
1 parent 4333fc0 commit d096a67
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 9 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -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 }}
8 changes: 8 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm>=8"]
build-backend = "setuptools.build_meta"

[project]
dynamic = ["version"]

[tool.setuptools_scm]
12 changes: 3 additions & 9 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,19 @@
version='0.1.0',
author='VRSEN',
author_email='[email protected]',
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',
)

0 comments on commit d096a67

Please sign in to comment.