SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Also, here's a couple patches to Heinz's slackbuilds you might want to apply:
python-flit-core
-simpler method of building I found
-no need to update BUILD
python-wheel
-was still using setup.py instead of the new method
-built after python-flit-core and python-installer
-no need to update BUILD (only .pyc files change)
Last edited by fourtysixandtwo; 08-12-2023 at 02:32 PM.
I don't see a reason to change from setup.py to wheels as long as it's working. python-wheel isn't needed by anything for the PEP 517/PEP 660 build stuff, so it would probably be safe to update it to use even build+installer, but I wanted to keep those "pillars" as independent from each other as possible.
I don't see a reason to change from setup.py to wheels as long as it's working. python-wheel isn't needed by anything for the PEP 517/PEP 660 build stuff, so it would probably be safe to update it to use even build+installer, but I wanted to keep those "pillars" as independent from each other as possible.
How long it's going to keep working is the issue(setup.py will be removed) and if we can fix it from breaking in the future now...
Also python-installer uses the flit_core.wheel method already...at least that's my thought process.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
Quote:
How long it's going to keep working is the issue(setup.py will be removed), and if we can fix it from breaking in the future now...
Also python-installer uses the flit_core.wheel method already...at least that's my thought process.
As long as PV wants it to be that way.
Quote:
Otherwise if you don't have python-wheel already you can't build it.
It's the problem of the chicken and egg: SFS won't be able to build that package.
It's the problem of the hen and the egg: SFS won't be able to build that package.
Just to clear that up, there is no chicken and egg problem with python-wheel. It *could* be built with python-build and python-installer just fine, it wouldn't introduce any recursive dependency (at the moment). I just didn't because there is a setup.py still present that works. I'm not trying to set a precedent either, that *if* there is a setup.py in the source you should use it. It was just a choice I made to keep the fundamental packages that comprise the new python build process as independent from each other as possible (and retain the possibility to bootstrap them). It also made it easier for me to package it before it was in -current, because it had less extra dependencies.
Quote:
Originally Posted by fourtysixandtwo
How long it's going to keep working is the issue(setup.py will be removed) and if we can fix it from breaking in the future now...
I understand what you're trying to say here, and you're not wrong. It's just not that big of an issue. To me, anyway.
Quote:
Originally Posted by fourtysixandtwo
Also python-installer uses the flit_core.wheel method already...at least that's my thought process.
Because *that* is a chicken and egg situation. Can't use python-installer to install python-installer before python-installer is installed. That's why we use flit.
I understand what you're trying to say here, and you're not wrong. It's just not that big of an issue. To me, anyway.
Because *that* is a chicken and egg situation. Can't use python-installer to install python-installer before python-installer is installed. That's why we use flit.
That's the same reasoning I was applying to python-wheel.
But you're right it is just splitting hairs and the package doesn't change. Personally I'd just prefer to be consistent and why I went that way when I submitted the python3-wheel slackbuild on SBo.
Hello,
I use little 6 inch computer as backup and in case of main computer failure.
I had problem with keyboard on it. It needs the 'button' module loaded to get the keyboard working.
To install Slackware on it I had to use Arch Linux iso and manually copy installed Slackware from another computer.
I read that the keyboard in GPD MicroPC will work when the module button will be loaded. Could you add the 'button' module to installer's initrd image?
Hello,
I use little 6 inch computer as backup and in case of main computer failure.
I had problem with keyboard on it. It needs the 'button' module loaded to get the keyboard working.
To install Slackware on it I had to use Arch Linux iso and manually copy installed Slackware from another computer.
I read that the keyboard in GPD MicroPC will work when the module button will be loaded. Could you add the 'button' module to installer's initrd image?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.