yfprojects

Results 399 comments of yfprojects
trafficstars

> What would the output of flatpak-pip-generator look like? In case the wheels are platform-specific, I guess the output would have to specify multiple wheels, one for each target architecture,...

> How could this output be generated? The flatpak-pip-generator script currently calls pip to resolve packages. It could be possible to resolve packages for a specific target architecture by passing...

> sounds good! I'm trying to think this through and make it as specific as possible. can you provide an example of how you would structure the flatpak json? a...

> How then would we solve the hard part?, i.e., how can we choose the right filename, the best wheel to install? I think Option B is the way to...

> * quick and dirty filtering using regexes could be used to blacklist strings such as `macos` or `win`. should be enough to get started. A regex like `win|macos`? >...

@TingPing Why does the `flatpak-pip-generator` script use pip to determine the packages needed? Is the sole reason resolving dependencies?

> ``` ># in the flatpak-pip-generator-script, ># for all packages specified in the "--use-wheels-for" commandline argument >``` Maybe `--force-wheels-for` since the script already uses wheels if they are platform independent....

I think for these changes it would also make sense to move more code into functions in the script and add a `if __name__ == '__main__':` section.

> @TingPing Why does the `flatpak-pip-generator` script use pip to determine the packages needed? Is the sole reason resolving dependencies? Can you answer this @TingPing or ping anyone that was...

@johannesjh I started working on this but I don't find the code and some of the choices made easy to understand. Especially the duplication of calculations bothers me.