-
-
Notifications
You must be signed in to change notification settings - Fork 215
DevHowto
Alejandro Autalán edited this page Mar 19, 2022
·
3 revisions
On Windows you need to install git and gitbash console.
On Unix like systems you need: git, bash and gettext.
# On debian based distributions
apt install bash git gettext
Open a bash console. On Windows, right click on Desktop (or the folder you want), Click "open GitBash here".
# This is the python version installed here
$ python --version
Python 3.8.5
Create a project folder
mkdir mypygubu-project
cd mypygubu-project
Create a virtual environment called venv
python3 -m venv venv
Activate virtual environment.
# Windows:
source ./venv/Scripts/activate
# Unix like:
source venv/bin/activate
Clone pygubu repository (Or your own fork of pygubu repo)
git clone https://github.com/alejandroautalan/pygubu.git
Change to pygubu folder, and install it in developer mode
cd pygubu
pip install -e ./
At the end, your project structure should look as follows:
mypygubu-project/
├── pygubu
│ ├── doc
│ ├── pygubu
│ └── tests
└── venv
Start coding.