Skip to content

Commit

Permalink
Merge ca8d725 into aa937a9
Browse files Browse the repository at this point in the history
  • Loading branch information
devmotion committed May 18, 2021
2 parents aa937a9 + ca8d725 commit c2639c5
Show file tree
Hide file tree
Showing 9 changed files with 25 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/JuliaNightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ jobs:
PYTHON: ${{ matrix.python }}
- uses: julia-actions/julia-runtest@v1
with:
coverage: ${{ matrix.coverage }}
coverage: false
env:
PYTHON: ${{ matrix.python }}
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = "POT"
name = "PythonOT"
uuid = "3c485715-4278-42b2-9b5f-8f00e43c12ef"
authors = ["David Widmann"]
version = "0.1.0"
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -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).
2 changes: 1 addition & 1 deletion docs/Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions docs/Project.toml
Original file line number Diff line number Diff line change
@@ -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"
14 changes: 7 additions & 7 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand All @@ -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")
2 changes: 1 addition & 1 deletion docs/src/index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# POT.jl
# PythonOT.jl

*Julia interface for the [Python Optimal Transport (POT) package](https://pythonot.github.io/)*
2 changes: 1 addition & 1 deletion src/POT.jl → src/PythonOT.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module POT
module PythonOT

using PyCall: PyCall

Expand Down
8 changes: 4 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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]+})",
Expand Down

0 comments on commit c2639c5

Please sign in to comment.