2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-24 19:04:02 +08:00

ship examples with package

This commit is contained in:
Sebastien Bourdeauducq 2016-04-05 13:51:45 +08:00
parent f4c5403803
commit cff01274e9
24 changed files with 15 additions and 5 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

@ -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?
-------------------------------------------------------- --------------------------------------------------------