coco-scm-1.rockspec 821 Bytes
Newer Older
liangjing's avatar
liangjing committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package = "coco"
version = "scm-1"

source = {
  url = "git://github.com/pdollar/coco.git"
}

description = {
  summary = "Interface for accessing the Microsoft COCO dataset",
  detailed = "See http://mscoco.org/ for more details",
  homepage = "https://github.com/pdollar/coco",
  license = "Simplified BSD"
}

dependencies = {
  "lua >= 5.1",
  "torch >= 7.0",
  "lua-cjson"
}

build = {
  type = "builtin",
  modules = {
    ["coco.env"] = "LuaAPI/env.lua",
    ["coco.init"] = "LuaAPI/init.lua",
    ["coco.MaskApi"] = "LuaAPI/MaskApi.lua",
    ["coco.CocoApi"] = "LuaAPI/CocoApi.lua",
    libmaskapi = {
      sources = { "common/maskApi.c" },
      incdirs = { "common/" }
    }
  }
}

-- luarocks make LuaAPI/rocks/coco-scm-1.rockspec
-- https://github.com/pdollar/coco/raw/master/LuaAPI/rocks/coco-scm-1.rockspec