Question about about removing original .py #36
Unanswered
skyshine102
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was trying to build a wheel with mypyc compilation on some of my files (func_a.py and func_b.py). I have the following directory structure:
├── src
│ └── pkg
│ ├── about.py
│ ├── func
│ │ ├── func_a.py
│ │ └── func_b.py
So I add the two files to the pyproject.toml
However, I would like to have
How can I do this?
I had tried excluding the two files by
But when I did this, mypyc cannot find the two files for compilation...
I also tried another hatch plugin hatch-cython and I can successfully remove func_a.py func_b.py by the method mentioned above. It seems that two plugin's behavior are not consistent. I was puzzled...
Beta Was this translation helpful? Give feedback.
All reactions