-
Notifications
You must be signed in to change notification settings - Fork 185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed setup.py. #546
Removed setup.py. #546
Conversation
Yeah, but then you can't do editable installs for development 👎 , and you lose GitHub's dependency graph for Python projects, since it doesn't trigger as a Python project (as of about a year ago, maybe they've fixed that now). |
The first problem will be fixed in the next Pip release: pypa/pip#9547 :) So I'd be more-or-less fine with it once there's a new pip. It does mean Python 2 and 3.5 development will be harder, but a) I don't do Python 2 development, I just fix CI issues when it fails, and b) these versions of Python will be dropped in the version after the "split-up" next version. |
The dependency graph is broken currently anyway, so losing setup.py won't be a big deal for that. |
Pip 21.1 is out. Will take a little while to show up in CI, and it will never support 2.7 and 3.5, so will likely wait till the next Plumbum version is out before merging. We need the editable mode for computing coverage, IIRC. |
8492ad8
to
30d4093
Compare
Are you aware of Remove support for setup.cfg only projects change in pip? |
That's poorly named. That only removes support for projects that have a And, yes, I was the one who caught the problem in 21.1.2 and asked for that PR, if you follow through the various discussions. :) |
30d4093
to
118a7e1
Compare
118a7e1
to
a0c89c8
Compare
a0c89c8
to
dcc2f03
Compare
I'm going to be very tempted to move to PyPA/flit with PEP 621 configuration instead of just deleting setup.py once we drop 2.7 & 3.5 support. The only thing we'd loose is the automatic versioning, which is admittedly a bummer. Thoughts? (By the time we do it, the PR to add PEP 621 to setuptools might be ready, but flit is still 10 faster...) |
If I remember right, |
dcc2f03
to
23a24f8
Compare
23a24f8
to
23e4dca
Compare
I think PyPA/Hatch's hatchling is the right direction for Plumbum to rid itself of setup.py, FYI. |
It turned out that only setup.cfg is enough for modern setuptools.
23e4dca
to
889748f
Compare
FYI, after a little bit (to make sure there aren't regressions in 1.8.0), I'll drop 3.6 then merge the hatchling PR, which will remove setup.py. :) |
OK. |
It turned out that only setup.cfg is enough for modern setuptools.