Skip to content

Move from requirements.txt to pyproject.toml to conform to PEP 621#1

Open
Apanatshka wants to merge 4 commits intotudelft-cda-lab:mainfrom
Apanatshka:pyproject-toml
Open

Move from requirements.txt to pyproject.toml to conform to PEP 621#1
Apanatshka wants to merge 4 commits intotudelft-cda-lab:mainfrom
Apanatshka:pyproject-toml

Conversation

@Apanatshka
Copy link
Copy Markdown

This is a minimalist change to use pyproject.toml for your project, making it easier for modern tools like uv to declare the github repo as a dependency. If you like I can also add the strongly recommended [build-system] to the pyproject.toml but that probably requires moving the python files to an src subdirectory.

This version can use `uv run pyinstaller src/dtpo/run_dtpo.py` to get an executable
@Apanatshka
Copy link
Copy Markdown
Author

Well, with the second commit this is no longer minimal, but gets us to the point we want I think. IRL discussion was about getting a standalone executable, this gets us that.

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.

1 participant