[PR #440] using pyproject.toml over setup.py to manage the package information #505

Open
opened 2026-10-31 21:15:34 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/openai/CLIP/pull/440
Author: @kelvin-zjw
Created: 5/3/2024
Status: 🔄 Open

Base: main ← Head: main


📝 Commits (1)

  • 805363d using pyproject.toml over setup.py to manage the package information

📊 Changes

8 files changed (+53 additions, -33 deletions)

View changed files

📝 .github/workflows/test.yml (+1 -2)
📝 .gitignore (+2 -0)
➕ CHANGELOG.md (+21 -0)
📝 README.md (+1 -5)
📝 clip/__init__.py (+2 -0)
➕ pyproject.toml (+26 -0)
➖ requirements.txt (+0 -5)
➖ setup.py (+0 -21)

📄 Description

The pyproject.toml is now strongly recommended by setuptools and PEP 621, so we may can use pyproject.toml over setup.py to manage the package information.

Also, this may help we simplify the installation process.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/openai/CLIP/pull/440 **Author:** [@kelvin-zjw](https://github.com/kelvin-zjw) **Created:** 5/3/2024 **Status:** 🔄 Open **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`805363d`](https://github.com/openai/CLIP/commit/805363d9283a36655172dcf5bb2018b87ef09c36) using pyproject.toml over setup.py to manage the package information ### 📊 Changes **8 files changed** (+53 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/test.yml` (+1 -2) 📝 `.gitignore` (+2 -0) ➕ `CHANGELOG.md` (+21 -0) 📝 `README.md` (+1 -5) 📝 `clip/__init__.py` (+2 -0) ➕ `pyproject.toml` (+26 -0) ➖ `requirements.txt` (+0 -5) ➖ `setup.py` (+0 -21) </details> ### 📄 Description The pyproject.toml is now strongly recommended by [setuptools](https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html) and [PEP 621](https://peps.python.org/pep-0621/), so we may can use pyproject.toml over setup.py to manage the package information. Also, this may help we simplify the installation process. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openai/CLIP#505
No description provided.