diff --git a/.github/workflows/JuliaNightly.yml b/.github/workflows/JuliaNightly.yml index 5dae505..1879a04 100644 --- a/.github/workflows/JuliaNightly.yml +++ b/.github/workflows/JuliaNightly.yml @@ -59,6 +59,6 @@ jobs: PYTHON: ${{ matrix.python }} - uses: julia-actions/julia-runtest@v1 with: - coverage: ${{ matrix.coverage }} + coverage: false env: PYTHON: ${{ matrix.python }} diff --git a/Project.toml b/Project.toml index a3c61c4..4746f48 100644 --- a/Project.toml +++ b/Project.toml @@ -1,4 +1,4 @@ -name = "POT" +name = "PythonOT" uuid = "3c485715-4278-42b2-9b5f-8f00e43c12ef" authors = ["David Widmann"] version = "0.1.0" diff --git a/README.md b/README.md index 3b12c6a..5c09f2d 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,13 @@ -# POT.jl +# PythonOT.jl *Julia interface for the [Python Optimal Transport (POT) package](https://pythonot.github.io/)* -[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://devmotion.github.io/POT.jl/stable) -[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://devmotion.github.io/POT.jl/dev) -[![Build Status](https://github.com/devmotion/POT.jl/workflows/CI/badge.svg?branch=main)](https://github.com/devmotion/POT.jl/actions?query=workflow%3ACI+branch%3Amain) -[![Build Status (Julia nightly)](https://github.com/devmotion/POT.jl/workflows/JuliaNightly/badge.svg?branch=main)](https://github.com/devmotion/POT.jl/actions?query=workflow%3AJuliaNightly+branch%3Amain) -[![Coverage](https://codecov.io/gh/devmotion/POT.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/devmotion/POT.jl) -[![Coverage](https://coveralls.io/repos/github/devmotion/POT.jl/badge.svg?branch=main)](https://coveralls.io/github/devmotion/POT.jl?branch=main) +[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://devmotion.github.io/PythonOT.jl/stable) +[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://devmotion.github.io/PythonOT.jl/dev) +[![Build Status](https://github.com/devmotion/PythonOT.jl/workflows/CI/badge.svg?branch=main)](https://github.com/devmotion/PythonOT.jl/actions?query=workflow%3ACI+branch%3Amain) +[![Build Status (Julia nightly)](https://github.com/devmotion/PythonOT.jl/workflows/JuliaNightly/badge.svg?branch=main)](https://github.com/devmotion/PythonOT.jl/actions?query=workflow%3AJuliaNightly+branch%3Amain) +[![Coverage](https://codecov.io/gh/devmotion/PythonOT.jl/branch/main/graph/badge.svg)](https://codecov.io/gh/devmotion/PythonOT.jl) +[![Coverage](https://coveralls.io/repos/github/devmotion/PythonOT.jl/badge.svg?branch=main)](https://coveralls.io/github/devmotion/PythonOT.jl?branch=main) [![Code Style: Blue](https://img.shields.io/badge/code%20style-blue-4495d1.svg)](https://github.com/invenia/BlueStyle) This package was originally part of [OptimalTransport.jl](https://github.com/zsteve/OptimalTransport.jl). diff --git a/docs/Manifest.toml b/docs/Manifest.toml index 49f97ab..63db83b 100644 --- a/docs/Manifest.toml +++ b/docs/Manifest.toml @@ -84,7 +84,7 @@ uuid = "14a3606d-f60d-562e-9121-12d972cd8159" [[NetworkOptions]] uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908" -[[POT]] +[[PythonOT]] path = ".." uuid = "3c485715-4278-42b2-9b5f-8f00e43c12ef" version = "0.1.0" diff --git a/docs/Project.toml b/docs/Project.toml index 498d6c0..e27a797 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,8 +1,8 @@ [deps] Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" -POT = "3c485715-4278-42b2-9b5f-8f00e43c12ef" +PythonOT = "3c485715-4278-42b2-9b5f-8f00e43c12ef" [compat] Documenter = "0.26" -POT = "0.1" +PythonOT = "0.1" julia = "1" diff --git a/docs/make.jl b/docs/make.jl index dc76468..bd67d00 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -5,18 +5,18 @@ if haskey(ENV, "GITHUB_ACTIONS") ENV["JULIA_DEBUG"] = "Documenter" end -using POT +using PythonOT -DocMeta.setdocmeta!(POT, :DocTestSetup, :(using POT); recursive=true) +DocMeta.setdocmeta!(PythonOT, :DocTestSetup, :(using PythonOT); recursive=true) makedocs(; - modules=[POT], + modules=[PythonOT], authors="David Widmann", - repo="https://github.com/devmotion/POT.jl/blob/{commit}{path}#{line}", - sitename="POT.jl", + repo="https://github.com/devmotion/PythonOT.jl/blob/{commit}{path}#{line}", + sitename="PythonOT.jl", format=Documenter.HTML(; prettyurls=get(ENV, "CI", "false") == "true", - canonical="https://devmotion.github.io/POT.jl", + canonical="https://devmotion.github.io/PythonOT.jl", assets=String[], ), pages=["Home" => "index.md", "api.md"], @@ -29,4 +29,4 @@ makedocs(; ], ) -deploydocs(; repo="github.com/devmotion/POT.jl", push_preview=true, devbranch="main") +deploydocs(; repo="github.com/devmotion/PythonOT.jl", push_preview=true, devbranch="main") diff --git a/docs/src/index.md b/docs/src/index.md index b9650af..2b20040 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -1,3 +1,3 @@ -# POT.jl +# PythonOT.jl *Julia interface for the [Python Optimal Transport (POT) package](https://pythonot.github.io/)* diff --git a/src/POT.jl b/src/PythonOT.jl similarity index 94% rename from src/POT.jl rename to src/PythonOT.jl index d88afaf..81e687b 100644 --- a/src/POT.jl +++ b/src/PythonOT.jl @@ -1,4 +1,4 @@ -module POT +module PythonOT using PyCall: PyCall diff --git a/test/runtests.jl b/test/runtests.jl index 635fb5e..a803048 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -7,15 +7,15 @@ using Pkg Pkg.instantiate() end -using POT +using PythonOT using Documenter using Test -@testset "POT.jl" begin +@testset "PythonOT.jl" begin @testset "doctests" begin - DocMeta.setdocmeta!(POT, :DocTestSetup, :(using POT); recursive=true) + DocMeta.setdocmeta!(PythonOT, :DocTestSetup, :(using PythonOT); recursive=true) doctest( - POT; + PythonOT; doctestfilters=[ r"{([a-zA-Z0-9]+,\s?)+[a-zA-Z0-9]+}", r"(Array{[a-zA-Z0-9]+,\s?1}|Vector{[a-zA-Z0-9]+})",