djcompiler
djcompiler copied to clipboard
django compiler that compiles the django project to a C language project which gives more performance and more security since the original code is hidden.
I get module not found exception when I run manage.py runserver command. specifically the settings module in project folder. is there something am doing wrong?
```bash bud-core-screen-svc on git main [!?] via py v3.11.6 (bud-core-screen-svc) x ls .coveragerc conf.yaml logs .djcompiler config.env main .git cython manage.py...
Our django project can really be compiled using your nice tool. Is there a way to compile also dependencies imported from the files?
By expanding the file via the calling path, we can match more clearly the file as it is specified in the ignore files. https://github.com/abdoohossamm/djcompiler/issues/14
This will happen if a directory is ignored, yet copy needed files includes a file in that directory. ``` django_project/ ├── ignored_directory/ │ └── file_needed.py ├── app/ │ └── compiled_file.py...
Needing to ignore a specific file inside of a subdirectory fails with given a path "module/file_to_ignore.py" or even "./module/file_to_ignore.py"
- [x] Fix copy_needed_files function in djcompiler: - [x] re-copy the file if it exists - [x] separate-djcompiler.djcompiler.compile_project-method-to-2-functions - [x] add copy_needed_dirs() method to copy the needed dirs to the...
The files in other_files_needed has been copied to the build directory not to their directory where they was before built. for example the: `other_files_needed=manage.py .env __init__.py generic_models/models/__init__.py` the file `generic_models/models/__init__.py`...
I know this is mostly not specifically related to djcompiler, but I thought I'd give it a try, after compiling the django backend that has an .env file in the...
Separate the method to 2 methods compile_modules which will include Cython setup method alone and compile_project that will run the methods: - compile_modules() - copy_migrations_to_build() - inital_python_modules() - copy_needed_files() -...