Skip to content

Commit

Permalink
Trying to fix deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
boldar99 committed Oct 2, 2023
1 parent cf7ef17 commit 29dc8dc
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ jobs:
continue-on-error: true
run:
pylint zxlive
- name: mypy
continue-on-error: true
run:
mypy zxlive
15 changes: 15 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ test = [
"PySide6-stubs",
"shapely-stubs @ git+https://github.com/ciscorn/shapely-stubs.git",
"mypy",
"pyproject-flake8",
"pylint",
]

[project.urls]
Expand Down Expand Up @@ -71,3 +73,16 @@ disallow_untyped_defs = true
disable_error_code = [
"import",
]

[tool.distutils.build_exe]
excludes = [
"IPython",
"jupyter",
"pytest",
"mypy",
]
zip_include_packages = [
"encodings",
"zxlive",
"pyzx",
]
7 changes: 7 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import sys
from cx_Freeze import setup, Executable

# base="Win32GUI" should be used only for Windows GUI app
base = "Win32GUI" if sys.platform == "win32" else None

setup(executables=[Executable("zxlive/__main__.py", base=base, target_name="zxlive")])

0 comments on commit 29dc8dc

Please sign in to comment.