forked from M-Labs/artiq
1
0
Fork 0

ship examples with package

This commit is contained in:
Sebastien Bourdeauducq 2016-04-05 13:51:45 +08:00
parent 2dfc1a8d17
commit affe4d45aa
28 changed files with 16 additions and 6 deletions

10
.gitignore vendored
View File

@ -18,11 +18,11 @@ __pycache__/
/artiq/test/results /artiq/test/results
/artiq/test/h5types.h5 /artiq/test/h5types.h5
/examples/master/results /artiq/examples/master/results
/examples/master/last_rid.pyon /artiq/examples/master/last_rid.pyon
/examples/master/dataset_db.pyon /artiq/examples/master/dataset_db.pyon
/examples/sim/results /artiq/examples/sim/results
/examples/sim/dataset_db.pyon /artiq/examples/sim/dataset_db.pyon
# recommended location for testbed # recommended location for testbed
/run /run

View File

@ -1,4 +1,5 @@
graft artiq/runtime graft artiq/runtime
graft artiq/examples
include artiq/gui/logo.svg include artiq/gui/logo.svg
include versioneer.py include versioneer.py
include artiq/_version.py include artiq/_version.py

View File

@ -204,7 +204,7 @@
"host": "::1", "host": "::1",
"port": 6283, "port": 6283,
"target_name": "camera_sim", "target_name": "camera_sim",
"command": "./remote_exec_controller.py" "command": "python3.5 -m artiq.examples.remote_exec_controller"
}, },
"camera_sim_rexec": { "camera_sim_rexec": {
"type": "controller_aux_target", "type": "controller_aux_target",

View File

@ -6,6 +6,15 @@ FAQ
How do I ... How do I ...
============ ============
find ARTIQ examples?
--------------------
The examples are installed in the ``examples`` folder of the ARTIQ package. You can find where the ARTIQ package is installed on your machine with: ::
python3.5 -c "import artiq; print(artiq.__path__[0])"
Copy the ``examples`` folder from that path into your home/user directory, and start experimenting!
prevent my first RTIO command from causing an underflow? prevent my first RTIO command from causing an underflow?
-------------------------------------------------------- --------------------------------------------------------