Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 760 Bytes

File metadata and controls

37 lines (31 loc) · 760 Bytes
layout default
title Documentation
permalink /documentation/

Usage

Add the following dependency to your Package.swift manifest:

.package(url: "https://github.com/pvieito/PythonKit.git", .branch("main")),

Namely,

import PackageDescription

let package = Package(
    name: "MyPackage",
    dependencies: [
        .package(url: "https://github.com/pvieito/PythonKit.git", .branch("main")),
    ],
    targets: [
        .target(
            name: "MyPackage",
            dependencies: ["qukit"]
        ),
        .testTarget(
            name: "MyPackageTests",
            dependencies: ["MyPackage"]
        ),
    ]
)

Now you should be able to import qukit in the MyPackage target.