首页 文章

Python的简单自制软件

提问于
浏览
1

我有一个简单的python应用程序,我想通过私人Homebrew点击分发 . 我在主回购中有以下文件:

test/
  test.sh     # script that runs the python script below.
  main.py     # main script.

并将以下配置(test.rb)提交给我的tap回购:

class Test < Formula
  desc "Test."
  url "https://github.com/..."
  version "0.0.1"

  def install
    bin.install "test.sh"
  end

  test do
  end
end

但是当我安装main.py文件时不可用 .

谢谢 .

1 回答

相关问题