Update README.md

This commit is contained in:
fls 2026-09-17 17:52:27 -03:00
parent 0ab8836265
commit ee6e1c330f
1 changed files with 5 additions and 38 deletions

View File

@ -12,13 +12,7 @@ Getting a copy of the project up and running on your local machine. Supported Pl
Open the terminal (Ctrl+Alt+T) and run the following command to install the software dependencies:
```
sudo apt install python3 python3-gi python3-cairo python3-gi-cairo gir1.2-gtk-3.0 libgirepository1.0-dev python3-dev build-essential pkg-config python3-pip python3-venv
```
**Alternative**: Use the Makefile for automatic installation:
```
make install_full
sudo apt install python3 python3-gi python3-cairo python3-gi-cairo gir1.2-gtk-3.0 libgirepository1.0-dev python3-dev build-essential pkg-config python3-pip python3-venv gcc libcairo2-dev python3-dev libgirepository-2.0-dev gir1.2-gtksource-3.0
```
### Installation
@ -36,34 +30,13 @@ sudo apt install python3.8-venv
Setting the virtual environment:
1. Create the environment: `python3 -m venv <virtual environment name>`
1. Active the environment: `source <virtual environment path>/<virtual environment name>/bin/activate`
1. Install prerequisites: `sudo apt install libgirepository1.0-dev gcc libcairo2-dev pkg-config python3-dev`
1. Install PyGObject: `python -m pip install PyGObject`
1. Create the environment: `python3 -m venv mosaicode`
1. Active the environment: `source mosaicode/bin/activate`
1. Install PyGObject: `python -m pip install PyGObject setuptools`
1. Install Mosaicode: `python setup.py install`
**Alternative**: Use the Makefile for automatic virtual environment setup:
```
make install_venv
```
More details in the Python 3 *Virtual Environments and Packages* documentation: https://docs.python.org/3/tutorial/venv.html
#### Operational System Directories
Run via terminal:
```
sudo python setup.py install
```
**Alternative**: Use the Makefile for system installation:
```
make install_full
```
### Useful Makefile Commands
- `make help` - Show all available commands
@ -92,10 +65,4 @@ Some extensions that you can install to add visual programming languages with re
## Related pages
ALICE. Lab: [https://alice.dcomp.ufsj.edu.br/](https://alice.dcomp.ufsj.edu.br/)
## Contact
Asking to:
* mosaicode-dev@googlegroups.com
ALICE. Lab: [https://alice.ufsj.edu.br/](https://alice.ufsj.edu.br/)