Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 785 Bytes

README.md

File metadata and controls

19 lines (14 loc) · 785 Bytes

QtPyHammer - Fork

A Python alternative to Valve Hammer Editor 4.x, forked from https://github.com/QtPyHammer-devs/QtPyHammer

Creating the dev environment

It's recommended to use a python virtual environment to preserve the version of dependencies, here's how you do that:

First, open a terminal in the QtPyHammer-master folder (the top level!)
Then, create a new python(3.8+) virtual environment
(Linux users may need to install python-venv first $ python -m venv venv )

Activate your new virtual environment

  • Windows: $ call venv/scripts/activate
  • Mac / Linux: $ source venv/bin/activate

Finally, install all dependencies with pip $ python -m pip install -r requirements.txt

You can now run QtPyHammer from the terminal
$ python hammer.py