Do you like this project? If so, you can contribute to it in various ways, and you don't need to be a developer!
Download the latest GitHub version,
then install the dev requirements in requirements-dev.txt
.
In a nutshell
git clone https://github.com/HugoFara/pylinkage.git
cd pylinkage
pip install -r requirements-dev.txt
You will need to have your own fork for this project if you want to submit pull requests.
We use unittest. You can use it in two ways:
- Just run
python -m unittest discover
from the main folder. - For users of PyCharm, use the "All Tests" configuration.
This section is mainly intended for maintainers. Fell free to use the tools described here, but they are not necessary in any way.
- To publish a new version, use
bump2version
. For instancebump2version minor
. - Update CHANGELOG.md with release date and edit subsection titles.
- Regenerate the documentation (uses Sphinx).
- By hand with
sphinx-build -b html sphinx/ docs/
. - We also provide a configuration file for users of PyCharm that does the same.
- Clean everything with
make clean
.
- By hand with
- Commit and add a tag (e. g. v0.4.0).
- Publish a new GitHub release.
Pylinkage is a small project to build 2D linkages in a simple way. It is not intended for complex simulations. If you want to do much more, my best advice is to start your own project. If you simply want to have fun developing new features, you are welcome here!
Don't forget to drop a star, fork it or share it on social media. This is a community project, and the bigger the community, the more it will thrive!