A tool to set up Git hooks for your target local git repo, that automatically synchronize and updates for requirements.txt and virtual environments, streamlining the process of managing development environment for projects.
Project description
envsync
envsync is a Python package to manage coding environments and projects using Python virtual environments and Git hooks.
Installation
You can install envsync from PyPI:
pip install envsync
Usage
To initialize a local Git repository with the necessary hooks, run:
envsync /path/to/local_git_repo_folder
This command will set up the following hooks:
post-checkout
: Updatesrequirements.txt
whenever you checkout a new branch or commit.pre-commit
: Prevents committing files larger than 100MB.post-merge
: Updates the virtual environment ifrequirements.txt
changes after a merge.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
envsync-0.1.0.tar.gz
(3.3 kB
view hashes)