I would like a python file (something like this: https://stackoverflow.com/a/36946412)
BUT:
Only create a .PYD file, and not a .C file or a BUILD directory
Reason:
Want to close source my program.
I have already done that (use my self made hex obfuscator (so people cant see the source code with a hex editor), and use cython) (Not perfect but makes it hard enough so that its not worth it)
But currently I'm making a program that makes other program (keep in mind: the "program builder" will get distributed, so I can't just not distribute the other files)
I have already done most of it
But right now all I need is a setup.py file which generates .PYD file, and not the other stuff
Also:
I don't want to prohibit cython from creating the c files, I just don't want them to be accessible to the user (so as an example, keeping them in your memory but not putting the files on the disk or only putting those files in a dir which is not accessible to the user (and every time you use the program it will remove the user rights to that folder))