Closed Bug 1886536 Opened 2 months ago Closed 2 months ago

Remove setup.cfg in favor of pyproject.toml

Categories

(Socorro :: Antenna, task)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: relud, Assigned: relud)

Details

Attachments

(1 file)

after merging https://github.com/mozilla-services/antenna/pull/985 the only things left in setup.cfg are flake8, doc8, and wheel.

flake8 definitely isn't in use anymore, and doc8 doesn't appear to be in use but if it is the config should be migrated to pyproject.toml. The only config for wheel is universal = 1. As I understand it we don't build wheels for this project, the only information I found while googling was about bdist_wheel, and antenna definitely isn't published to pypi. So maybe we can just delete setup.cfg.

Additionally, it's my understanding that pyproject.toml is supposed to be sufficient to fully replace setup.py, but I've done no further research. While we're at it we should probably do that, too.

We don't use flake8, doc8, or wheels. A long long time ago, we built Socorro and Antenna as wheels and then packaged that up in an rpm and then the deploy involved installing rpms on all the servers. We don't do that anymore. I think we can just nix setup.cfg and setup.py.

Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED

This was deployed in bug #1892791 tag 2024.04.22.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: