diff --git a/LICENSE.md b/LICENSE.md index 22ebc3e4c55fa3c65431a90c2ac53a17261841c2..ef2874fd5845a04673dbc5083e7103baf2734bf3 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,4 +1,4 @@ -The SpikingNetworks.jl package is licensed under the MIT "Expat" License: +The SpikingNeuralNetworks.jl package is licensed under the MIT "Expat" License: > Copyright (c) 2016: Yao Lu. > diff --git a/Project.toml b/Project.toml index da260a5db3674a4836343e0d59f5c424982ddf9c..9052845efe12c01872c51b0667b3447513703c77 100644 --- a/Project.toml +++ b/Project.toml @@ -1,4 +1,4 @@ -name = "SNN" +name = "SpikingNeuralNetworks" uuid = "9d8b7fda-1049-58bc-9481-071a9f369938" version = "0.1.0" @@ -8,3 +8,16 @@ Reexport = "189a3867-3050-52da-a836-e630ba90ab69" Requires = "ae029012-a4dd-5104-9daa-d747884805df" SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf" Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d" + +[compat] +julia = "1" +Parameters = "0.12" +Reexport = "0.2" +Requires = "0.5" +Unitful = "0.17" + +[extras] +Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" + +[targets] +test = ["Test"] diff --git a/README.md b/README.md index 25d9aafb09d2ce8c9a0735867279f66cb03b9af8..929b1e55cbf8823f52e9ec3052e3dd26ac926cc6 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,9 @@ # Installation ```julia -Pkg.clone("https://github.com/AStupidBear/SNN.jl.git") -Pkg.build("SNN") +] add https://github.com/AStupidBear/SpikingNeuralNetworks.jl ``` # Documentation -The documentation of this package is not finished yet. For now, just check `examples` folder or use `Pkg.test("SNN")` to run all examples. +The documentation of this package is not finished yet. For now, just check `examples` folder. diff --git a/deps/build.jl b/deps/build.jl deleted file mode 100644 index 512367efb9dc84042fca49750816817a32536bd2..0000000000000000000000000000000000000000 --- a/deps/build.jl +++ /dev/null @@ -1,5 +0,0 @@ -for pkg in ["Utils"] - ispath(Pkg.dir(pkg)) && (Pkg.checkout(pkg); continue) - Pkg.clone("https://github.com/AStupidBear/$pkg.jl.git") - Pkg.build(pkg) -end diff --git a/src/SNN.jl b/src/SpikingNeuralNetworks.jl similarity index 92% rename from src/SNN.jl rename to src/SpikingNeuralNetworks.jl index a4b2875178f71d64aa3604e57b77d294b1e32dde..a3af9531141b74e92aee8273a51eb076a8848651 100644 --- a/src/SNN.jl +++ b/src/SpikingNeuralNetworks.jl @@ -1,4 +1,6 @@ -module SNN +module SpikingNeuralNetworks + +const SNN = SpikingNeuralNetworks using SparseArrays using Reexport diff --git a/test/runtests.jl b/test/runtests.jl index f9df45c0bc210c77dcaf5799829803251230bb1f..f01ca18a49cd73da0e9a3aaf5cdd5ccbeba95c89 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -1,5 +1,6 @@ #using Plots; plotly() -using SNN +using SpikingNeuralNetworks +const SNN = SpikingNeuralNetworks #using Unitful #using Unitful.DefaultSymbols include(joinpath(@__DIR__, "..", "src", "units.jl")) # FIXME