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

[epic][python] Prepare the creation of the python package #23

Open
4 tasks
sporniket opened this issue Mar 8, 2024 · 0 comments
Open
4 tasks

[epic][python] Prepare the creation of the python package #23

sporniket opened this issue Mar 8, 2024 · 0 comments
Assignees
Labels
python Relates to building a python package to be pushed to pypl

Comments

@sporniket
Copy link
Owner

In order to not pollute the name yowasp-yices2, the package created will be named meant-to-be-yowasp-yices2

Looking at YoWASP/yosys repository, there will be :

  • Create a pypi folder with the files allowing to glue yices build with WASI sdk and python
    • git ignore file, quick readme, toml project descriptor, dummy version number computer script setup.py
    • meant-to-be-yowasp-yices2 subfolder, with an initialisation script __init__.py, holding the creation of the various launcher scripts
    • complete setup.py to infer the version number of the package.

Acceptance test

In a temporary folder :

  • Clone the project amaranth-stuff
  • patch the project to use the package meant-to-be-yowasp-yices2describe the patch
  • launch the test with python3 -m pdm
  • THEN the yices2 build with WASI sdk is used
  • THEN the test suite passes
@sporniket sporniket added the python Relates to building a python package to be pushed to pypl label Mar 8, 2024
@sporniket sporniket self-assigned this Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
python Relates to building a python package to be pushed to pypl
Projects
None yet
Development

No branches or pull requests

1 participant