Skip to content

Commit

Permalink
Merge pull request #1814 from pupil-labs/develop
Browse files Browse the repository at this point in the history
Pupil v1.22 Release
  • Loading branch information
papr authored Feb 20, 2020
2 parents f3a48df + 3bfdcdd commit 7e50dbe
Show file tree
Hide file tree
Showing 101 changed files with 3,682 additions and 7,453 deletions.
7 changes: 2 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,6 @@ settings/
.idea
#directory for test file will be ignored
Pupil_Test_Files
detector_2d.cpp
detector_3d.cpp
CircleGoodnessTest.cpp
SphereCircleTest.cpp
*.mkv
*.egg-info
hmd_cal_data
Expand All @@ -55,4 +51,5 @@ deployment/pupil_v*
*.pyd
*.dll
win_drv
.vs
.vs
.venv
8 changes: 0 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@ All setup and dependency installation instructions are contained in this repo. A
- [macOS](./docs/dependencies-macos.md "Pupil dependency installation for macOS")
- [Windows 10](./docs/dependencies-windows.md "Pupil dependency installation for Windows 10")

#### Intel RealSense 3D Support

If you want to use an Intel RealSense 3D scene camera, please follow the additional setup instructions for the camera model you have.

* **Intel RealSense R200**: Please follow our detailed [Setup Guide](./docs/dependencies-realsense-r200.md "RealSense R200 setup guide")
* **Intel RealSense D400**: You need to install the [Python wrapper for librealsense](https://github.com/IntelRealSense/librealsense/tree/master/wrappers/python#python-wrapper "Install instructions for librealsense Python wrapper")


### Clone the repo
After you have installed all dependencies, clone this repo and start Pupil software.

Expand Down
3 changes: 0 additions & 3 deletions deployment/bundle.bat
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ if not exist %release_dir% (
set PATH=%PATH%;C:\Python36\Lib\site-packages\scipy\.libs
set PATH=%PATH%;C:\Python36\Lib\site-packages\zmq

python ..\pupil_src\shared_modules\cython_methods\build.py
python ..\pupil_src\shared_modules\calibration_routines\optimization_calibration\build.py

call :Bundle capture %current_tag%
call :Bundle service %current_tag%
call :Bundle player %current_tag%
Expand Down
6 changes: 0 additions & 6 deletions deployment/bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ fi
echo "release_dir: ${release_dir}"
mkdir ${release_dir}

printf "\n##########\nBuilding cython modules\n##########\n\n"
python3 ../pupil_src/shared_modules/cython_methods/build.py

printf "\n##########\nBuilding calibration methods\n##########\n\n"
python3 ../pupil_src/shared_modules/calibration_routines/optimization_calibration/build.py

# bundle Pupil Capture
printf "\n##########\nBundling Pupil Capture\n##########\n\n"
cd deploy_capture
Expand Down
8 changes: 1 addition & 7 deletions deployment/deploy_capture/bundle.spec
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ if platform.system() == "Darwin":
sys.path.append(".")
from version import pupil_version

import pyrealsense

pyrealsense_path = pathlib.Path(pyrealsense.__file__).parent / "lrs_parsed_classes"

del sys.path[-1]
a = Analysis(
["../../pupil_src/main.py"],
Expand Down Expand Up @@ -98,11 +94,9 @@ if platform.system() == "Darwin":
a.datas,
[("libuvc.0.dylib", "/usr/local/lib/libuvc.0.dylib", "BINARY")],
[("libglfw.dylib", "/usr/local/lib/libglfw.dylib", "BINARY")],
[("librealsense.dylib", "/usr/local/lib/librealsense.dylib", "BINARY")],
[("pyglui/OpenSans-Regular.ttf", ui.get_opensans_font_path(), "DATA")],
[("pyglui/Roboto-Regular.ttf", ui.get_roboto_font_path(), "DATA")],
[("pyglui/pupil_icons.ttf", ui.get_pupil_icons_font_path(), "DATA")],
[("pyrealsense/lrs_parsed_classes", pyrealsense_path, "DATA")],
apriltag_libs,
strip=None,
upx=True,
Expand All @@ -127,7 +121,7 @@ elif platform.system() == "Linux":
+ apriltag_hidden_imports,
hookspath=None,
runtime_hooks=None,
excludes=["matplotlib", "pyrealsense"],
excludes=["matplotlib"],
)

pyz = PYZ(a.pure)
Expand Down
6 changes: 3 additions & 3 deletions deployment/deploy_player/bundle.spec
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ if platform.system() == "Darwin":
),
hookspath=None,
runtime_hooks=None,
excludes=["matplotlib", "pyrealsense"],
excludes=["matplotlib"],
)

pyz = PYZ(a.pure)
Expand Down Expand Up @@ -126,7 +126,7 @@ elif platform.system() == "Linux":
+ apriltag_hidden_imports,
hookspath=None,
runtime_hooks=None,
excludes=["matplotlib", "pyrealsense"],
excludes=["matplotlib"],
)

pyz = PYZ(a.pure)
Expand Down Expand Up @@ -214,7 +214,7 @@ elif platform.system() == "Windows":
+ apriltag_hidden_imports,
hookspath=None,
runtime_hooks=None,
excludes=["matplotlib", "pyrealsense"],
excludes=["matplotlib"],
)

pyz = PYZ(a.pure)
Expand Down
6 changes: 3 additions & 3 deletions deployment/deploy_service/bundle.spec
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ if platform.system() == "Darwin":
hiddenimports=[] + av_hidden_imports + pyglui_hidden_imports,
hookspath=None,
runtime_hooks=None,
excludes=["matplotlib", "pyrealsense"],
excludes=["matplotlib"],
)
pyz = PYZ(a.pure)
exe = EXE(
Expand Down Expand Up @@ -99,7 +99,7 @@ elif platform.system() == "Linux":
hiddenimports=[] + av_hidden_imports + pyglui_hidden_imports,
hookspath=None,
runtime_hooks=None,
excludes=["matplotlib", "pyrealsense"],
excludes=["matplotlib"],
)

pyz = PYZ(a.pure)
Expand Down Expand Up @@ -181,7 +181,7 @@ elif platform.system() == "Windows":
runtime_hooks=None,
win_no_prefer_redirects=False,
win_private_assemblies=False,
excludes=["matplotlib", "pyrealsense"],
excludes=["matplotlib"],
)

pyz = PYZ(a.pure)
Expand Down
41 changes: 0 additions & 41 deletions docs/dependencies-realsense-r200.md

This file was deleted.

Loading

0 comments on commit 7e50dbe

Please sign in to comment.