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

use pyproject.toml #142

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

use pyproject.toml #142

wants to merge 2 commits into from

Conversation

PyMarc2
Copy link
Contributor

@PyMarc2 PyMarc2 commented Aug 28, 2024

Use the modern .toml file approach for package setup and build.

In the requirements it is possible to set the platform for which a package must be installed.
Thus, for GDAL (macos) == 3.9.2, for GDAL(linux) == 3.6.4, which fixes the gdal problem.

The build seems to work on my end on Mac OS.

Please try it and update ci as I'm not familiar with this yet.

@PyMarc2 PyMarc2 marked this pull request as draft August 28, 2024 15:40
@PyMarc2
Copy link
Contributor Author

PyMarc2 commented Aug 28, 2024

Is it mandatory to have ci look for a requirements.txt using the .toml technique?

@dakk
Copy link
Owner

dakk commented Aug 29, 2024

Is it mandatory to have ci look for a requirements.txt using the .toml technique?

The toml should include deps; I personally prefer to keep the pyproject.toml separate from tox / testing, like I did here: https://github.com/dakk/qlasskit/

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

Successfully merging this pull request may close these issues.

2 participants