Clarifying developer setup instructions
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 65/100
- Tipo di issue
- Documentazione
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
Direzione di ricerca
Inizia dalla sezione „Development Environment“ di readme.md e confrontala con README, build64-nvda-addon.sh, lo script di build non a 64 bit e .gitignore. Riproduci i passaggi indicati di cargo build e scons, quindi documenta i prerequisiti confermati, l'utilizzo degli script e il percorso Rules generato. Il lavoro è completo quando una persona alle prime armi può configurare e compilare l'addon senza le domande rimaste senza risposta in questa issue.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi, I'm looking to contribute and I've (successfully?) set up a dev environment to build the MathCAT NVDA addon, but ran into a few questions. Once I've confirmed that I didn't do anything wrong, I'll try to update the readme's dev setup instructions with the additional prereqs I encountered.
@NSoiffer
I saw two scripts, build64-nvda-addon.sh and a non-64 counterpart. These files were updated within the past few weeks, possibly implying current use.
-
PYO3_PYTHON_64=C:/Users/neils/AppData/Local/Python/pythoncore-3.13-64
This path includes neils' username, making this script harder to use off of his machine. - I'm more experienced with server-side development, so have more limited familiarity with setting up a Windows build env. This script is a bash script, and while apparently Windows PowerShell allows starting bash these days, it looks like it uses
/mnt/C/Users/{username}, notC:/Users/{username}?
I'm unsure how I would run this script, even if I replaced neils' home path with something appropriate to my machine. (Start PowerShell, type bash, then execute the script? Execute directly from PowerShell? Some other terminal or otherwise?)
Are there additional prereqs to run this script on top of the ones covered below? At least build64 seems to point at two different python installs, if I'm reading correctly.
In the end I didn't use this script.
I mostly worked off of https://github.com/daisy/MathCATForPython/tree/main#development-environment
Prereqs approximately following the document:
- Installed python 3.14.7-64bit via Python installer (instead of 3.11-32bit)
- Set up venv and installed listed modules
- Cloned MathCAT and NVDA git repos as siblings to MathCATForPython.
Additional prereqs not covered in that document:
- Install rust (https://rustup.rs/) and MSVC prereqs. (You call out installing python, so it feels fair to me to call this out as well?)
pip install scons. Maybe this one was supposed to be outside the venv, but I installed it in the venv for now.pip install markdownas an additional venv component, since the build seemed to need it?
My build process (no flags, unlike the bash scripts above):
cargo build
scons
Should I have been running any of the flags from the bash scripts?
Also, I've locally added addon/globalPlugins/MathCAT/Rules to the .gitignore file, since cargo build unzips the rules files from the base project into there. Considering that this isn't already in the checked-in .gitignore, am I doing something wrong? Or should I send a PR to update the checked-in file with that?
Also^2, should I fold [README](https://github.com/daisy/MathCATForPython/blob/main/README), which only describes running sconsinto the dev instructions from the more comprehensivereadme.md`?)
- Lingua principale
- Python
- Stelle
- 10
- Fork
- 10
- Merge medio
- 10h 40m
- PR unite (30g)
- 4
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di daisy/MathCATForPython
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
daisy/MathCATForPython#105 · 2 commenti ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
daisy/MathCATForPython#112 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 62/100
daisy/MathCATForPython#111 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
daisy/MathCATForPython#110 ·
-
daisy/MathCATForPython#104 · 1 assegnatario ·
Tutte le issue di daisy/MathCATForPython
Issue simili
-
货币战争手改优先级配置缺少列表元素类型校验(P3) Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Apertaarea: ci bug perceived difficulty: 3
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
ClickHouse/clickhouse-connect#1057 ·