Skip to content

Add packaging metadata (pyproject.toml/setup.py) to support installation via package managers #38

@Vincent96034

Description

@Vincent96034

Summary

Request a minimal packaging configuration (pyproject.toml or setup.py) so the project can be installed directly from Git sources (e.g. via uv add git+https://github.com/Polymarket/agents.git), instead of only being usable as a checked‑out source tree.

Basic example

$ uv add git+https://github.com/Polymarket/agents.git

error: .../git-v0/checkouts/e16fa44ec4db08eb/081f2b5 does not appear to be a Python project, as neither `pyproject.toml` nor `setup.py` are present in the directory

Adding a simple pyproject.toml that exposes the agents package (and lists dependencies drawn from requirements.txt) would let tools like uv, pip, or Poetry install straight from Git.

Motivation

Many users prefer (or are required) to consume libraries via standard package managers; lack of metadata blocks those workflows.
Providing a proper build backend enables reproducible installs pinned to a commit without manual vendoring.
With packaging in place, consumers can test the agents inside their own virtual environments (e.g. Python 3.9) while relying on their existing dependency management tooling.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions