-
Notifications
You must be signed in to change notification settings - Fork 10
How to develop a2
WIP!
There is multiple parts to this! Developing for a2 can mean any of these things:
- develop a2 ui
- build/use widgets
- create elements
- create modules
- host module packages
- create module elements
have a github account
a2testuser42
a2 is written in Python 3 and Autohotkey. I'll cover how to get a special IDE and how to set up at a later point. For now that should be up to you which Python IDE you use. Just make sure you have the following:
- a git client
- Python 3.6-3.8.5 (select from the Windows x86-64 ones. The web one is just fine)
Clone/Fork the repo and install dependencies: https://help.github.com/articles/fork-a-repo
- With GitHub for Windows installed:
Click the Clone or download button on the a2 github homepage and then Open in Desktop.
- or git commandline:
git clone https://github.com/ewerybody/a2.git --recursive
On the commandline in your Python3/Scripts folder:
pip install PySide2
If you want to make packages. You also need:
pip install PyInstaller
If you have multiple Python versions installed and the 3.6 one is not available through the PATH
environment variable:
make sure to add the path to the python.exe file into the settings\a2_settings.ahk
file
(The
req.txt
files have been removed because it seemed impossible to make the tech preview of PySide2 available like this.)
We recommend VS Code
- Download VS Code
- Install the Python package
Any kind of text editor will do, yet we recommend in descending order:
- VS Code is also good for AHK!
- find an AutoHotkey extension inside.