-
Notifications
You must be signed in to change notification settings - Fork 13
/
mix.exs
74 lines (66 loc) · 1.39 KB
/
mix.exs
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
defmodule Scidata.MixProject do
use Mix.Project
@version "0.1.11"
@repo_url "https://github.com/elixir-nx/scidata"
def project do
[
app: :scidata,
version: @version,
elixir: "~> 1.11",
start_permanent: Mix.env() == :prod,
deps: deps(),
# Hex
package: package(),
description: "Datasets for science",
# Docs
name: "Scidata",
docs: docs()
]
end
def application do
[
extra_applications: [:logger, :ssl, :inets]
]
end
defp deps do
[
{:ex_doc, ">= 0.24.0", only: :dev, runtime: false},
{:nimble_csv, "~> 1.1"},
{:jason, "~> 1.0"},
{:stb_image, "~> 0.4", optional: true},
{:castore, "~> 0.1"}
]
end
defp package do
[
licenses: ["Apache-2.0"],
links: %{"GitHub" => @repo_url}
]
end
defp docs do
[
source_ref: "v#{@version}",
source_url: @repo_url,
groups_for_modules: [
Text: [
Scidata.IMDBReviews,
Scidata.Squad,
Scidata.YelpFullReviews,
Scidata.YelpPolarityReviews
],
Vision: [
Scidata.Caltech101,
Scidata.CIFAR10,
Scidata.CIFAR100,
Scidata.FashionMNIST,
Scidata.KuzushijiMNIST,
Scidata.MNIST
],
Misc: [
Scidata.Iris,
Scidata.Wine
]
]
]
end
end