Thank you for visiting the blenderpy
repository, and viewing the contribution guidelines.
By your visit here, the assumption is that you would like to contribute to the code base, or become a maintainer of a certain portion of the code. If not, and you were just looking to publish an issue, then you don't have to read all of this, and can simply go to the issues tracking page.
Your contributions are most welcome! This is a somewhat informal repository, in that there aren't many maintainers (just me as of writing 1st of May, 2019!) and I am always willing to help or provide some insight if you are doing some development with this.
- Issue Tracker
- Blender Artists Forum
- Discord (go to the
#blender-repos
channel)
blenderpy
is somewhat of a complicated solution. This repository actually doesn't do much on its own; it mostly exists so that we can control how the bpy
required files get distributed (more here). For the building of the bpy
files, the bpy-build
repository is used (a requirement of this repository) and for the final placement of all the files, bpy-ensure
is used (places the /Scripts
file in the correct location, which has been an issue before).
Therefore in order to contribute to the project as a whole, you are going to want to check out three repos. Follow the steps below:
- Clone the repository
git clone https://github.com/TylerGubala/blenderpy
into the directory of your choice - Clone the repository
git clone https://github.com/TylerGubala/bpy-build
into the directory of your choice - Clone the repository
git clone https://github.com/TylerGubala/bpy-ensure
into the directory of your choice cd blenderpy
mkdir venv
cd venv
py -3.6-32 -m venv 3.6-32
optional: replace 3.6-32 with your preferred python versioncd ..
venv/3.6-32/Scripts/activate
(3.6-32)py -m pip install -r requirements.txt
cd bpy-build
mkdir venv
cd venv
py -3.6-32 -m venv 3.6-32
optional: replace 3.6-32 with your preferred python versioncd ..
venv/3.6-32/Scripts/activate
(3.6-32)py -m pip install -r requirements.txt
cd bpy-ensure
mkdir venv
cd venv
py -3.6-32 -m venv 3.6-32
optional: replace 3.6-32 with your preferred python versioncd ..
venv/3.6-32/Scripts/activate
(3.6-32)py -m pip install -r requirements.txt
- optional: To watch the build process, run
bpy-build/setup.py
in your preferred coding environment with a debugger attached
If you find something that may be wrong with the code, please feel free to submit a bug report. Try and follow the guidelines outlined here. I will get back with you.
If you want some additional feature added to the repo, please try to follow the guidelines here, similarly to the bug report, I am open to discussions, so don't hesitate to ask! Additionally, if you want to be a little more informal and discuss it prior, you can always join me in the Discord
Please when implimenting the pull request be sure to update the setup.py
with any install_requires
fields that may be necessary per your change. Describe in detail what the improvement is and we can talk about it.