Skip to content

chore: Drop setup.py#340

Merged
raphael0202 merged 1 commit intoopenfoodfacts:developfrom
Freso:drop-setup.py
Jun 27, 2025
Merged

chore: Drop setup.py#340
raphael0202 merged 1 commit intoopenfoodfacts:developfrom
Freso:drop-setup.py

Conversation

@Freso
Copy link
Copy Markdown
Contributor

@Freso Freso commented Jun 18, 2025

While setup.py itself isn’t deprecated,

python setup.py and the use of setup.py as a command line tool
are deprecated.

This means that commands such as [python setup.py install]
MUST NOT be run anymore

https://packaging.python.org/en/latest/discussions/setup-py-deprecated/

Given that our setup.py exists solely to run as a command, let’s just drop it and update documentation accordingly.

Fixes #324

While `setup.py` itself isn’t deprecated,

> `python setup.py` and the use of `setup.py` as a command line tool
> are deprecated.
>
> This means that commands such as [`python setup.py install`]
> **MUST NOT** be run anymore

— https://packaging.python.org/en/latest/discussions/setup-py-deprecated/

Given that our `setup.py` exists solely to run as a command, let’s just
drop it and update documentation accordingly.

Fixes openfoodfacts#324
@sonarqubecloud
Copy link
Copy Markdown

@raphael0202 raphael0202 merged commit 8f1a75a into openfoodfacts:develop Jun 27, 2025
4 checks passed
@Freso Freso deleted the drop-setup.py branch June 27, 2025 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Update to README needed for building?

2 participants