Clear info in the readme file

This commit is contained in:
Aurelien Vaillant
2022-02-23 16:34:30 +01:00
parent edd4095d25
commit 181f45b051
+4 -9
View File
@@ -2,21 +2,16 @@
Template repository about blender addon. To used-it, clone this repository and rename the folder "blender_addon_folder" with your addon name. Template repository about blender addon. To used-it, clone this repository and rename the folder "blender_addon_folder" with your addon name.
Update the file "tests/main.py", line 29, set your addon name. Update the file "tests/main.py", line 29, set your addon name.
````python ```python
# Prepare Blender and Unreal dependency # Prepare Blender and Unreal dependency
generate_archive(archives, 'blender_addon_folder') generate_archive(archives, 'blender_addon_folder')
```` ```
> ⚠️ It's more easy to use the "_" with your addon folder name, the "-" character can be problematic with python used. > ⚠️ It's more easy to use the "_" with your addon folder name, the "-" character can be problematic with python use.
# Setup Variable
The Github Workflow (CI chain) request some update with each new repository :
- [ ] Env. variable : request the package ex name. Get a better solution to automatically used the folder name ?
# Unit Test # Unit Test
All unit test call the blender docker [stilobique/blender:latest](https://hub.docker.com/repository/docker/stilobique/blender). All unit tests call docker image [stilobique/blender:latest](https://hub.docker.com/repository/docker/stilobique/blender).
#### Blender addon dependency #### Blender addon dependency
With all unit test, if your addon request some dependency, add the repo inside the list in `blender_addon.py` and `blender.py`. This system are not perfect and need to be improved. With all unit test, if your addon request some dependency, add the repo inside the list in `blender_addon.py` and `blender.py`. This system are not perfect and need to be improved.