Skip to content
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

Reduce discrepancy of building tools #9

Open
hongquan opened this issue Jun 13, 2020 · 2 comments
Open

Reduce discrepancy of building tools #9

hongquan opened this issue Jun 13, 2020 · 2 comments

Comments

@hongquan
Copy link
Owner

hongquan commented Jun 13, 2020

Due to the need of publishing our app to various channels, the build method are now too diverse:

  • First, we use Poetry both to manage dependency and build, with the pyproject.toml file being the main script for building. However, the 2nd purpose failed, because our app cannot be distributed via PyPI (due to the inclusion of desktop-integration files like icons, *.desktop file).
  • Then, we need to build Debian package. We need to generate setup.py file from pyproject.toml, because Debian doesn't support Poetry.
  • Next, we need to build Faltpak package. Because of it, meson.build is added.

So, we are having 3 build scripts: pyproject.toml, setup.py, meson.build. Pretty cluttering now.

@hongquan
Copy link
Owner Author

Debian team is attempting to support pyproject.toml file: https://lists.debian.org/debian-python/2020/04/msg00061.html

@hongquan
Copy link
Owner Author

hongquan commented Mar 5, 2021

I got rid of setup.py in favor of Meson.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant