App for the RaceCapture series of motorsport telemetry systems.
See requirements.txt for full list of requirements
- Install kivy 1.9.1 via pip
-
Instructions: https://kivy.org/docs/installation/installation-osx.html
- install virtualenv
- create a virtual environment (perhaps in this directory):
virtualenv _ve
- activate the virtualenv:
. _ve/bin/activate
- install pip requirements:
pip install -r requirements.txt
(you may be required to upgrade your version of setuptools via the provided command) - install asl_f4_loader in dependencies folder: pip install asl_f4_loader-X.X.X.tar.gz
- install pygame (http://www.pygame.org/download.shtml - use correct package for your OSX+Python version)
- Install kivy 1.9.1 via pip
-
Instructions: https://kivy.org/docs/installation/installation-osx.html
- install Kivy into Applications and run symlink script
- install virtualenv
- re-enable setup tools for Kivy virtualenv:
sudo virtualenv /Applications/Kivy.app/Contents/Resources/venv/
- install pip requirements:
/Applications/Kivy.app/Contents/Resources/venv/bin/pip install -r requirements.txt
- run app:
kivy main.py
/Applications/Kivy.app/Contents/Resources/script main.py
- Add a .sentry file with the app's platform-specific DSN for Sentry
- Follow the platform-specific build instructions
- Make sure all dependencies are installed inside Kivy's venv
cd /Applications/Kivy.app/Contents/Resources/venv/bin
&&source activate
cd /path/to/RaceCapture_App
&&pip install -r requirements.txt
- If we're using a custom build of Kivy, we need to fix the paths for some libraries, run the install/osx/fix-osx-paths.sh script.
cd install/osx
./build-osx.sh
The script will create the .App file and .dmg for distribution.
- Install x86 2.7.x Python and kivy via instuctions https://kivy.org/docs/installation/installation-windows.html
- Navigate to the RaceCapture source directory
- Install RaceCapture requirements:
pip install -r requirements.txt
- Navigate to the RaceCapture source directory
- Launch RaceCapture
python main.py
- Do the "installation" instructions above
- Download [Eclipse] (https://www.eclipse.org/downloads/)
- Install [PyDev for Eclipse] (http://pydev.org/manual_101_install.html) and use auto-config
- In Window..Preferences..PyDev..Interpreter..Python Interpreter..Environment, add a variable "PATH" with value c:\kivy;c:\kivy\Python;c:\kivy\gstreamer\bin;c:\kivy\MinGW\bin;%PATH%
- In Window..Preferences..PyDev..Interpreter..Python Interpreter..Forced Builtins, add "kivy" to the list
- Make a new project in Eclipse, select "PyDev project" and specify the folder with Racecapture in it
- Right-click the project...Properties...pyDev-PYTHONPATH...External Libraries - Add source folder, add my_kivy_install_folder\kivy
- Run the project
- Prepare dev installation (above)
- Install [nullsoft scriptable install system] (http://nsis.sourceforge.net/Download) stable version (currently 2.46)
- Navigate command line to install subfolder of RaceCapture app directory
- build_win_release.bat ..
- Install kivy 1.9.1 via pip
- install [virtualenv]:
sudo pip install virtualenv
- create a virtual environment (perhaps in this directory):
virtualenv _ve
- activate the virtualenv:
. _ve/bin/activate
- install pip requirements:
sudo pip install -r requirements.txt
(you may be required to upgrade your version of setuptools via the provided command) - install asl_f4_loader in dependencies folder: pip install asl_f4_loader-X.X.X.tar.gz
python main.py
- install buildozer from https://github.com/kivy/buildozer
- from the root RaceCapture app directory, run ./build_apk.sh . buildozer will download files as necessary and build the apk
- if buildozer fails with a cython error, install cython from your package manager
- if buildozer fails with an Android SDK error, enter the ~/.buildozer directoy and run android update sdk -u from the android tools directory.
- Ensure your android device is in developer mode and plug it in via usb
- install / launch the app using ./launch_apk.sh
- Console / debug output will appear on screen as app is downloaded, installed and run
- Email the developer mailing list: https://groups.google.com/forum/#!forum/autosportlabs-developers
- File an issue: https://github.com/autosportlabs/RaceCapture_App/issues