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
Include setup.py in sdist #144
Comments
This has been discussed before. Please see #122 (comment) For bootstrapping see https://github.com/FFY00/python-bootstrap and https://flit.readthedocs.io/en/latest/bootstrap.html |
Best I can tell nothing here actually covers installing I don't see any downside to including a For now I'm having to use a version from before |
I really don't have much to add to #122 (comment) and it even suggests a couple ways to solve your problem. Also note that there's like 40 distros/projects successfully repackaging Tomli already. Maybe you can learn from their processes. I have no interest in maintaining a |
Still not sure how one flag for flit is a maintenance burden at all. You should probably remove this comment then:
|
It isn't except when Python 3.12 is released and the setup.py stops working. Please read #122 (comment). Also I don't currently use
Yeah maybe I should. The thing is I'm not very convinced you have an absolute need for this file. Why can't you add a one-liner setup.py yourself for building? Why can't you have wheel support? Are you sure you even need to build a package that is pure Python? |
Hopefully by then the tooling will have matured more, but it would be nice if the migration path wasn't so horribly complex, python cross compilation is a huge hacky mess and difficult to maintain as is. Isn't python 3.12 something like 2 years away from being released anyways? I mean python 3.11(last version compatible with distutils) isn't even going to be EOL until 2027 looks like....so seems a bit premature removing
Obviously I can make some ugly unmaintainable temporary hack if I have to, but that sort of thing tends to cause issues whenever we make changes to our tooling.
We cross compile all packages so there wasn't much point since wheels are inherently incompatible with cross compilation for packages with c extensions...and we really don't want to special case pure-python packages for complexity reasons. |
So rather than include a |
I noticed
setup.py
was removed here, however sincetomli
is a required dependency for bootstrappingflit
this should be included to make installingflit
easier for distros that need it for setting up a PEP-517 build environment.The text was updated successfully, but these errors were encountered: