[Distutils] Re: Packaging optional, arch-dependent, pre-built libraries

2021-04-14 Thread Vincent Pelletier
On Wed, 14 Apr 2021 13:59:00 +0100, Filipe Laíns wrote: > On Sun, 2021-04-11 at 00:59 +, Vincent Pelletier wrote: > > Thanks for the pointer, I would love to use it. Unfortunately, this > > fails to install on 2.7: > > with > >     install_requires=( > >    

[Distutils] Re: Packaging optional, arch-dependent, pre-built libraries

2021-04-14 Thread Vincent Pelletier
> On Sun, 2021-04-11 at 00:59 +, Vincent Pelletier wrote: > > Thanks for the pointer, I would love to use it. Unfortunately, this > > fails to install on 2.7: > > with > >     install_requires=( > >     "importlib_resources<=4.0.0;python_version<'3.0'", > >    

[Distutils] Re: Packaging optional, arch-dependent, pre-built libraries

2021-04-14 Thread Filipe Laíns
On Sun, 2021-04-11 at 00:59 +, Vincent Pelletier wrote: > Hello, > > On Tue, 6 Apr 2021 00:17:32 +0800, Tzu-ping Chung wrote: > > If a file is not built or linked against, a dll in your wheel is essentially > > a plain data file from Python packaging’s perspective, no different from > > e.g.

[Distutils] Re: Packaging optional, arch-dependent, pre-built libraries

2021-04-13 Thread Vincent Pelletier
Hello, On Tue, 6 Apr 2021 00:17:32 +0800, Tzu-ping Chung wrote: > If a file is not built or linked against, a dll in your wheel is essentially > a plain data file from Python packaging’s perspective, no different from e.g. > a text file. Thanks, I somehow did not get this until I saw it

[Distutils] Re: Packaging optional, arch-dependent, pre-built libraries

2021-04-10 Thread Tzu-ping Chung
“setup.py install” is pretty ancient at this point and lacks many of the remotely modern packaging syntax. I’d strongly advise to ignore it entirely. Use “pip install .” instead. -- Tzu-ping Chung (@uranusjr) uranu...@gmail.com https://uranusjr.com > On 11/4/2021, at 08:59, Vincent Pelletier

[Distutils] Re: Packaging optional, arch-dependent, pre-built libraries

2021-04-05 Thread Wes Turner
Is there some easy way to solve this specifically with cibuildwheel? https://github.com/joerick/cibuildwheel : > - Builds manylinux, macOS 10.9+, and Windows wheels for CPython and PyPy > - Works on GitHub Actions, Azure Pipelines, Travis CI, AppVeyor, CircleCI, and GitLab CI > - Bundles

[Distutils] Re: Packaging optional, arch-dependent, pre-built libraries

2021-04-05 Thread Tzu-ping Chung
If a file is not built or linked against, a dll in your wheel is essentially a plain data file from Python packaging’s perspective, no different from e.g. a text file. So you’re looking in the wrong direction for solutions. I believe the issue PyInstaller has with your package is that, since