@Suiseiseki@freesoftwareextremist.com @faraiwe@mstdn.social @ledocool@abyss.cafe It's a little more complicated than that because many python libraries also contain C++ libs and things like which will need to point to the Windows equivalent.
I fixed this by making a setup.py script which can make packages for Windows because it just downloads the prebuilt whl and dll files and then shoves your application into an .exe, no compilation needed.
Then I take the output "win64" folder with all the dlls and exe file and put it through NSIS and there is your Winshit installer.
@ledocool@abyss.cafe @faraiwe@mstdn.social I think I can actually figure something out with setup.py and nsis.
I can probably make a Windows build without actually having to install Windows myself. As I believe setup.py will automatically download the correct whl and dll files needed for the Windows build without having to compile anything myself.
It then spits out a bunch of crap into the build folder which I could compress it into a windows installer using nsis, so the Windows user can easily get all this crap into their Program Files directory using the installer.
Still working on this idea but that's probably what I'm going to do
@evan
Hey Evan... seeing such a nice CLI for your 'ap' project in its README..md, I decided to try playing with it but the setup tries to open a file called Pipfile which does not exist:
```shell
$ rg Pipfile
setup.py
4:# Function to read dependencies from Pipfile
8: pipfile_data = toml.load('Pipfile')
$ find . -name Pipfile
$
```
This was after hitting several errors where I had to figure out which OS python package to install, including python3-setuptools, python3-toml, and pipenv.
Wanted a setup.py script?
Maybe a pyproject.toml?
Or just a good old make configure && make install?
Well, leave it to Walt Disney to instead write a fully custom build and install toolchain (over 10k LOC) for a single Python library instead.
I'm just trying to package Panda3D for GNU Guix and I have been suffering for the past two days.
@phnt @sjvn @wolf480pl At least that comes from PyPI, there's also some horrors which downloads blobs in the setup.py or during runtime.
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.