Skip to content

Commit 008edf6

Browse files
committed
update url
1 parent 5bde085 commit 008edf6

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# SUPREMEMOOD
22

3+
## Dylan's working approach to building on Mac
4+
Make sure you pulled submodules so you've got smlie
5+
Get a nonsystem, nonconda python binary installed
6+
Create virtual environment:
7+
```bash
8+
python -m venv .venv
9+
```
10+
11+
Install universal binaries:
12+
```bash
13+
pip install --target $PWD/python_packages --only-binary=:all: --platform macosx_10_13_universal2 -r requirements.txt
14+
```
15+
16+
Update pythonpath:
17+
```bash
18+
export PYTHONPATH=$PWD/python_packages:$PWD/smile:$PYTHONPATH
19+
```
20+
21+
Build app:
22+
```bash
23+
python3 -m PyInstaller --noconfirm cogmood_mac.spec
24+
```
25+
26+
## Dylan's working approach to building on Windows
27+
```commandline
28+
conda create -p ./env_kivy20 -c conda-forge python=3.10 kivy=2.3 pyinstaller=4.10 requests kivy-garden
29+
conda activate ./env_kivy20
30+
pip install kivy-deps.sdl2 kivy-deps.glew pyo
31+
pip install -e cogmood/smile
32+
cd cogmood
33+
export PYTHONPATH=$PWD/smile:$PYTHONPATH
34+
cd package
35+
python -m PyInstaller cogmood_winkivy20.spec
36+
```
37+
338
## Updated Non-Conda Build Instructions
439
**Note:** Must use Git Bash or WSL on Windows for compatibility with Make
540

config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import platform
66

77
CURRENT_OS: str = platform.system()
8-
API_BASE_URL: str = 'https://technetium.nimh.nih.gov/cogmood'
8+
API_BASE_URL: str = 'https://mlc.nimh.nih.gov/cogmood'
99
VERIFY: bool = False
1010
RUNNING_FROM_EXECUTABLE: bool = getattr(sys, 'frozen', False) and hasattr(sys, '_MEIPASS')
1111
# WORKER_ID_PLACEHOLDER_VALUE is the placeholder value assigned to the WorkerID field

0 commit comments

Comments
 (0)