Skip to content

Removed dependency of setup.cfg from project#2211

Open
p-r-a-v-i-n wants to merge 4 commits intodjango:mainfrom
p-r-a-v-i-n:remove-setupcfg
Open

Removed dependency of setup.cfg from project#2211
p-r-a-v-i-n wants to merge 4 commits intodjango:mainfrom
p-r-a-v-i-n:remove-setupcfg

Conversation

@p-r-a-v-i-n
Copy link
Copy Markdown
Contributor

@p-r-a-v-i-n p-r-a-v-i-n commented Dec 22, 2025

I think now it is safe to remove 'setup.cfg'

i have produced the build and wheel on main and on current branch ,and I don't see differences (potentials )

@p-r-a-v-i-n
Copy link
Copy Markdown
Contributor Author

Builds:

original
modified

@deronnax
Copy link
Copy Markdown
Contributor

P-r-a-v-i-n is right. I noticed the almost empty pyproject.toml, it doesn't add any value, only noise. I am even sure last packaging PEP mandates the use of setuptools in the absence of a pyproject.toml file.

Copy link
Copy Markdown
Member

@carltongibson carltongibson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@p-r-a-v-i-n Happy to take this if you could rebase it after #2220

Thanks for the effort! 🏅

Comment thread pyproject.toml
Comment thread tox.ini
deps =
black
flake8
flake8-pyproject
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is for loading config for flak8 from pyproject.toml

Comment thread CONTRIBUTING.rst
To fix this use ``noglob``::

noglob python -m pip install -e .[tests]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this note because the note was specific to .[tests], and we will not use that syntax for tests.

For extras like daphne, we use now '.[daphne]' which also avoids the zsh issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants