setup.py 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. import setuptools
  2. with open('README.md', 'r', encoding='utf-8') as fh:
  3. long_description = fh.read()
  4. setuptools.setup(
  5. name='sweagent',
  6. author='John Yang',
  7. author_email='byjohnyang@gmail.com',
  8. description='The official SWE-agent package - an open source Agent Computer Interface for running language models as software engineers',
  9. keywords='nlp, agents, code',
  10. long_description=long_description,
  11. long_description_content_type='text/markdown',
  12. url='https://swe-agent.com',
  13. project_urls={
  14. 'Documentation': 'https://github.com/princeton-nlp/SWE-agent',
  15. 'Bug Reports': 'http://github.com/princeton-nlp/SWE-agent/issues',
  16. 'Source Code': 'http://github.com/princeton-nlp/SWE-agent',
  17. 'Website': 'https://sweagent.com',
  18. },
  19. packages=setuptools.find_packages(),
  20. classifiers=[
  21. 'Programming Language :: Python :: 3.9',
  22. 'Programming Language :: Python :: 3 :: Only',
  23. 'License :: OSI Approved :: MIT License',
  24. 'Operating System :: OS Independent',
  25. ],
  26. python_requires='>=3.9',
  27. install_requires=[
  28. 'anthropic',
  29. 'config',
  30. 'datasets',
  31. 'docker',
  32. 'gymnasium',
  33. 'numpy',
  34. 'openai>=1.0',
  35. 'pandas',
  36. 'rich',
  37. 'ollama',
  38. 'ruamel.yaml',
  39. 'simple-parsing',
  40. 'swebench>=1.0.1',
  41. 'tenacity',
  42. 'together',
  43. 'unidiff',
  44. ],
  45. include_package_data=True,
  46. )