-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/bin/sh | ||
|
||
# DEVELOPER INSTALLATION SCRIPT | ||
|
||
# You must have Java Development Kit (JDK) 8 (1.8). If higher (>8) then it must | ||
# support --release flag to pin down the version when compiling. | ||
# Always compile with 8 (1.8) to keep backward compatibility. | ||
# In conda, you can get a JDK version that supports --release flag: | ||
# conda install openjdk | ||
javac --version && # java version | ||
javac -cp src/accelerometer/java/JTransforms-3.1-with-dependencies.jar src/accelerometer/java/*.java --release 8 && # compile java files (using release 8) | ||
pip install -e .[dev,docs] # install in edit mode | ||
|
||
# Download tiny sample data used for unit tests | ||
wget -P tests/data/ https://wearables-files.ndph.ox.ac.uk/files/data/samples/ax3/tiny-sample.cwa.gz |