mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-28 20:53:35 +08:00
Add conda recipes for artiq and its dependencies
This commit is contained in:
parent
4167e669d2
commit
02a71e7abf
1
conda/artiq/bld.bat
Normal file
1
conda/artiq/bld.bat
Normal file
@ -0,0 +1 @@
|
||||
"%PYTHON%" setup.py install --single-version-externally-managed --record=record.txt
|
3
conda/artiq/build.sh
Executable file
3
conda/artiq/build.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
$PYTHON setup.py install --single-version-externally-managed --record=record.txt
|
47
conda/artiq/meta.yaml
Normal file
47
conda/artiq/meta.yaml
Normal file
@ -0,0 +1,47 @@
|
||||
package:
|
||||
name: artiq
|
||||
version: "0.0"
|
||||
|
||||
source:
|
||||
git_url: https://github.com/m-labs/artiq
|
||||
git_tag: master
|
||||
|
||||
build:
|
||||
number: 4
|
||||
string: dev
|
||||
entry_points:
|
||||
- artiq_client = artiq.frontend.artiq_client:main
|
||||
- artiq_ctlid = artiq.frontend.artiq_ctlid:main
|
||||
- artiq_gui = artiq.frontend.artiq_gui:main
|
||||
- artiq_master = artiq.frontend.artiq_master:main
|
||||
- artiq_run = artiq.frontend.artiq_run:main
|
||||
- lda_client = artiq.frontend.lda_client:main
|
||||
- lda_controller = artiq.frontend.lda_controller:main
|
||||
- pdq2_client = artiq.frontend.pdq2_client:main
|
||||
- pdq2_controller = artiq.frontend.pdq2_controller:main
|
||||
|
||||
requirements:
|
||||
build:
|
||||
- python
|
||||
- setuptools
|
||||
- numpy
|
||||
run:
|
||||
- python
|
||||
- llvmlite-or1k
|
||||
- scipy
|
||||
- numpy
|
||||
- prettytable
|
||||
- pyserial
|
||||
- sphinx
|
||||
- gbulb-artiq # [not win]
|
||||
- cairoplot3-artiq # [not win]
|
||||
|
||||
test:
|
||||
imports:
|
||||
- artiq
|
||||
|
||||
|
||||
about:
|
||||
home: http://m-labs.hk/artiq
|
||||
license: 3-clause BSD
|
||||
summary: 'ARTIQ (Advanced Real-Time Infrastructure for Quantum physics) is a next-generation control system for quantum information experiments. It is being developed in partnership with the Ion Storage Group at NIST, and its applicability reaches beyond ion trapping.'
|
15
conda/cairo/build.sh
Normal file
15
conda/cairo/build.sh
Normal file
@ -0,0 +1,15 @@
|
||||
#!/bin/bash
|
||||
export CFLAGS="-I$PREFIX/include -L$PREFIX/lib"
|
||||
./configure \
|
||||
--prefix=$PREFIX \
|
||||
--disable-static \
|
||||
--enable-warnings \
|
||||
--enable-ft \
|
||||
--enable-ps \
|
||||
--enable-pdf \
|
||||
--enable-svg \
|
||||
--disable-gtk-doc
|
||||
make
|
||||
make install
|
||||
rm -rf $PREFIX/share
|
||||
# vim:set ts=8 sw=4 sts=4 tw=78 et:
|
25
conda/cairo/meta.yaml
Normal file
25
conda/cairo/meta.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
# This conda recipe is based on this one: https://github.com/tpn/trent-conda-recipes/tree/master/cairo
|
||||
|
||||
package:
|
||||
name: cairo
|
||||
version: 1.14.0
|
||||
source:
|
||||
fn: cairo-1.14.0.tar.xz
|
||||
url: http://cairographics.org/releases/cairo-1.14.0.tar.xz
|
||||
build:
|
||||
number: 0
|
||||
requirements:
|
||||
build:
|
||||
- freetype
|
||||
- libpng
|
||||
- pixman >=0.30
|
||||
- zlib
|
||||
run:
|
||||
- freetype
|
||||
- libpng
|
||||
- pixman >=0.30
|
||||
- zlib
|
||||
about:
|
||||
home: http://cairographics.org/
|
||||
license: LGPL 2.1 and MPL 1.1
|
||||
# vim:set ts=8 sw=2 sts=2 tw=78 et:
|
29
conda/cairoplot3-artiq/meta.yaml
Normal file
29
conda/cairoplot3-artiq/meta.yaml
Normal file
@ -0,0 +1,29 @@
|
||||
package:
|
||||
name: cairoplot3-artiq
|
||||
version: "3.1.2"
|
||||
|
||||
source:
|
||||
git_url: https://github.com/m-labs/cairoplot3
|
||||
git_tag: master
|
||||
|
||||
build:
|
||||
number: 0
|
||||
script: $PYTHON setup.py install
|
||||
|
||||
requirements:
|
||||
build:
|
||||
- python
|
||||
- setuptools
|
||||
run:
|
||||
- python
|
||||
- pycairo
|
||||
|
||||
test:
|
||||
imports:
|
||||
- cairoplot
|
||||
- series
|
||||
|
||||
about:
|
||||
home: https://github.com/m-labs/cairoplot3
|
||||
license: LGPL
|
||||
summary: 'Module to easily plot beautiful graphics using PyCairo'
|
28
conda/gbulb-artiq/meta.yaml
Normal file
28
conda/gbulb-artiq/meta.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
package:
|
||||
name: gbulb-artiq
|
||||
version: "0.1"
|
||||
|
||||
source:
|
||||
git_url: https://github.com/m-labs/gbulb
|
||||
git_tag: master
|
||||
|
||||
build:
|
||||
number: 0
|
||||
script: $PYTHON setup.py install
|
||||
|
||||
requirements:
|
||||
build:
|
||||
- python
|
||||
- setuptools
|
||||
run:
|
||||
- python
|
||||
- pygobject
|
||||
|
||||
test:
|
||||
imports:
|
||||
- gbulb
|
||||
|
||||
about:
|
||||
home: https://github.com/m-labs/gbulb
|
||||
license: Apache 2.0
|
||||
summary: 'GLib event loop for tulip (PEP 3156)'
|
24
conda/llvmdev-or1k/bld.bat
Normal file
24
conda/llvmdev-or1k/bld.bat
Normal file
@ -0,0 +1,24 @@
|
||||
mkdir build
|
||||
cd build
|
||||
set BUILD_CONFIG=Release
|
||||
REM Configure step
|
||||
if "%ARCH%"=="32" (
|
||||
set CMAKE_GENERATOR=Visual Studio 12 2013
|
||||
) else (
|
||||
set CMAKE_GENERATOR=Visual Studio 12 2013 Win64
|
||||
)
|
||||
set CMAKE_GENERATOR_TOOLSET=v120_xp
|
||||
@rem Reduce build times and package size by removing unused stuff
|
||||
set CMAKE_CUSTOM=-DLLVM_TARGETS_TO_BUILD=OR1K -DLLVM_INCLUDE_TESTS=OFF ^
|
||||
-DLLVM_INCLUDE_TOOLS=OFF -DLLVM_INCLUDE_UTILS=OFF ^
|
||||
-DLLVM_INCLUDE_DOCS=OFF -DLLVM_INCLUDE_EXAMPLES=OFF
|
||||
cmake -G "%CMAKE_GENERATOR%" -T "%CMAKE_GENERATOR_TOOLSET%" ^
|
||||
-DCMAKE_BUILD_TYPE="%BUILD_CONFIG%" -DCMAKE_PREFIX_PATH=%LIBRARY_PREFIX% ^
|
||||
-DCMAKE_INSTALL_PREFIX:PATH=%LIBRARY_PREFIX% %CMAKE_CUSTOM% %SRC_DIR%
|
||||
if errorlevel 1 exit 1
|
||||
REM Build step
|
||||
cmake --build . --config "%BUILD_CONFIG%"
|
||||
if errorlevel 1 exit 1
|
||||
REM Install step
|
||||
cmake --build . --config "%BUILD_CONFIG%" --target install
|
||||
if errorlevel 1 exit 1
|
25
conda/llvmdev-or1k/meta.yaml
Normal file
25
conda/llvmdev-or1k/meta.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
package:
|
||||
name: llvmdev-or1k
|
||||
version: "3.4"
|
||||
|
||||
source:
|
||||
git_url: https://github.com/openrisc/llvm-or1k
|
||||
git_tag: master
|
||||
|
||||
build:
|
||||
number: 2
|
||||
|
||||
requirements:
|
||||
build:
|
||||
- system [linux and not armv6]
|
||||
run:
|
||||
- system [linux and not armv6]
|
||||
|
||||
#test:
|
||||
#commands:
|
||||
#- clang --help [linux and not armv6]
|
||||
|
||||
about:
|
||||
home: http://llvm.org/
|
||||
license: Open Source (http://llvm.org/releases/3.4/LICENSE.TXT)
|
||||
summary: Development headers and libraries for LLVM
|
11
conda/llvmlite-or1k/bld.bat
Normal file
11
conda/llvmlite-or1k/bld.bat
Normal file
@ -0,0 +1,11 @@
|
||||
@rem Let CMake know about the LLVM install path, for find_package()
|
||||
set CMAKE_PREFIX_PATH=%LIBRARY_PREFIX%
|
||||
|
||||
@rem Ensure there are no build leftovers (CMake can complain)
|
||||
if exist ffi\build rmdir /S /Q ffi\build
|
||||
|
||||
@rem Apply patches
|
||||
patch -p1 < %RECIPE_DIR%/../../patches/llvmlite/0001-add-all-targets.patch
|
||||
|
||||
%PYTHON% -S setup.py install
|
||||
if errorlevel 1 exit 1
|
4
conda/llvmlite-or1k/build.sh
Executable file
4
conda/llvmlite-or1k/build.sh
Executable file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
patch -p1 < ${RECIPE_DIR}/../../patches/llvmlite/0001-add-all-targets.patch
|
||||
PATH=/usr/local/llvm-or1k/bin:$PATH $PYTHON setup.py install
|
27
conda/llvmlite-or1k/meta.yaml
Normal file
27
conda/llvmlite-or1k/meta.yaml
Normal file
@ -0,0 +1,27 @@
|
||||
package:
|
||||
name: llvmlite-or1k
|
||||
version: "0.2.1"
|
||||
|
||||
source:
|
||||
git_url: https://github.com/numba/llvmlite
|
||||
git_tag: 11a8303d02e3d6dd2d1e0e9065701795cd8a979f
|
||||
|
||||
requirements:
|
||||
build:
|
||||
- python
|
||||
- llvmdev-or1k
|
||||
- setuptools
|
||||
run:
|
||||
- python
|
||||
|
||||
build:
|
||||
number: 0
|
||||
|
||||
test:
|
||||
imports:
|
||||
- llvmlite
|
||||
- llvmlite.llvmpy
|
||||
|
||||
about:
|
||||
home: https://pypi.python.org/pypi/llvmlite/
|
||||
license: BSD
|
4
conda/pixman/build.sh
Normal file
4
conda/pixman/build.sh
Normal file
@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
./configure --prefix=$PREFIX
|
||||
make -j
|
||||
make install
|
16
conda/pixman/meta.yaml
Normal file
16
conda/pixman/meta.yaml
Normal file
@ -0,0 +1,16 @@
|
||||
# This conda recipe comes from https://github.com/sandialabs/pixman-conda-recipe
|
||||
|
||||
package:
|
||||
name: pixman
|
||||
version: "0.32.6"
|
||||
|
||||
source:
|
||||
fn: pixman-0.32.6.tar.gz
|
||||
url: http://cairographics.org/releases/pixman-0.32.6.tar.gz
|
||||
|
||||
build:
|
||||
number: 0
|
||||
|
||||
about:
|
||||
home: http://cairographics.org
|
||||
license: GNU Lesser General Public License (LGPL) version 2.1 or the Mozilla Public License (MPL) version 1.1 at your option.
|
8
conda/prettytable/bld.bat
Normal file
8
conda/prettytable/bld.bat
Normal file
@ -0,0 +1,8 @@
|
||||
"%PYTHON%" setup.py install
|
||||
if errorlevel 1 exit 1
|
||||
|
||||
:: Add more build steps here, if they are necessary.
|
||||
|
||||
:: See
|
||||
:: http://docs.continuum.io/conda/build.html
|
||||
:: for a list of environment variables that are set during the build process.
|
3
conda/prettytable/build.sh
Normal file
3
conda/prettytable/build.sh
Normal file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
$PYTHON setup.py install
|
26
conda/prettytable/meta.yaml
Normal file
26
conda/prettytable/meta.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
package:
|
||||
name: prettytable
|
||||
version: !!str 0.7.2
|
||||
|
||||
source:
|
||||
fn: prettytable-0.7.2.tar.bz2
|
||||
url: https://pypi.python.org/packages/source/P/PrettyTable/prettytable-0.7.2.tar.bz2
|
||||
md5: 760dc900590ac3c46736167e09fa463a
|
||||
|
||||
requirements:
|
||||
build:
|
||||
- python
|
||||
- setuptools
|
||||
|
||||
run:
|
||||
- python
|
||||
|
||||
test:
|
||||
imports:
|
||||
- prettytable
|
||||
|
||||
|
||||
about:
|
||||
home: http://code.google.com/p/prettytable/
|
||||
license: BSD License
|
||||
summary: 'A simple Python library for easily displaying tabular data in a visually appealing ASCII table format.'
|
1
conda/pycairo/bld.bat
Normal file
1
conda/pycairo/bld.bat
Normal file
@ -0,0 +1 @@
|
||||
%PYTHON% setup.py install
|
3
conda/pycairo/build.sh
Executable file
3
conda/pycairo/build.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
$PYTHON setup.py install
|
29
conda/pycairo/meta.yaml
Normal file
29
conda/pycairo/meta.yaml
Normal file
@ -0,0 +1,29 @@
|
||||
package:
|
||||
name: pycairo
|
||||
version: "1.10.0"
|
||||
|
||||
source:
|
||||
git_url: git://git.cairographics.org/git/pycairo
|
||||
git_tag: master
|
||||
|
||||
build:
|
||||
number: 2
|
||||
script: $PYTHON setup.py install
|
||||
|
||||
requirements:
|
||||
build:
|
||||
- python
|
||||
- setuptools
|
||||
- cairo 1.14.0 # [not win]
|
||||
run:
|
||||
- python
|
||||
- cairo 1.14.0 # [not win]
|
||||
|
||||
test:
|
||||
imports:
|
||||
- cairo
|
||||
|
||||
about:
|
||||
home: http://cairographics.org/pycairo/
|
||||
license: LGPL 3
|
||||
summary: 'Python 3 bindings for cairo'
|
6
conda/pygobject/build.sh
Executable file
6
conda/pygobject/build.sh
Executable file
@ -0,0 +1,6 @@
|
||||
#!/bin/bash
|
||||
TERM=xterm ./autogen.sh
|
||||
export CFLAGS="-L$PREFIX/lib -I$PREFIX/include"
|
||||
./configure --prefix=$PREFIX
|
||||
make
|
||||
make install
|
30
conda/pygobject/meta.yaml
Normal file
30
conda/pygobject/meta.yaml
Normal file
@ -0,0 +1,30 @@
|
||||
package:
|
||||
name: pygobject
|
||||
version: "3.14.0"
|
||||
|
||||
source:
|
||||
git_url: git://git.gnome.org/pygobject
|
||||
git_tag: 3.14.0
|
||||
|
||||
build:
|
||||
number: 0
|
||||
|
||||
requirements:
|
||||
build:
|
||||
- python
|
||||
run:
|
||||
- python
|
||||
|
||||
test:
|
||||
imports:
|
||||
- gi
|
||||
- gi.repository
|
||||
- gi.repository.GObject
|
||||
- gi.repository.GLib
|
||||
- gi.repository.Gio
|
||||
- gi.repository.Gtk
|
||||
|
||||
about:
|
||||
home: https://wiki.gnome.org/action/show/Projects/PyGObject?action=show&redirect=PyGObject
|
||||
license: LGPL 2.1
|
||||
summary: 'PyGObject is a Python extension module that gives clean and consistent access to the entire GNOME software platform through the use of GObject Introspection.'
|
4
setup.py
4
setup.py
@ -22,9 +22,7 @@ setup(
|
||||
packages=find_packages(),
|
||||
namespace_packages=[],
|
||||
test_suite="artiq.test",
|
||||
data_files=[
|
||||
(os.path.join("artiq", "gui"),
|
||||
[os.path.join("artiq", "gui", "icon.png")])],
|
||||
package_data={"artiq": [os.path.join("gui", "icon.png")]},
|
||||
ext_modules=[],
|
||||
entry_points={
|
||||
"console_scripts": [
|
||||
|
Loading…
Reference in New Issue
Block a user