Skip to content

remove imp import

remove imp import #205

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: pack-win-mac
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
name: test pack task
# The type of runner that the job will run on
strategy:
matrix:
os: ["windows-latest", "macos-latest", "macos-11"]
python-version: ["3.8", "3.9", "3.10"] # must use str, not int, or 3.10 will be recognized as 3.1
runs-on: ${{ matrix.os }}
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: checkout code from github
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
# Runs a set of commands using the runners shell
- name: test pack
run: |
pip3 install -r requirements.txt
pip3 install pyinstaller wheel pyinstaller-hooks-contrib
python setup.py sdist bdist_wheel
python pack.py