Skip to content

Commit

Permalink
Update build settings
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Aug 26, 2024
1 parent 57d8823 commit c5ef18f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [macos-13, windows-latest, ubuntu-latest]
os: [macos-13, windows-latest] # , ubuntu-latest
cibw_archs: ["auto"]
include:
- os: ubuntu-latest
Expand Down Expand Up @@ -66,18 +66,3 @@ jobs:
with:
user: __token__
password: ${{ secrets.PYPI_PASSWORD }}
# To test: repository_url: https://test.pypi.org/legacy/
#
# - name: Upload to PyPI
#uses: pypa/gh-action-pypi-publish@v1.4.2
#with:
# user: ${{ secrets.PYPI_USER_NAME }}
# password: ${{ secrets.PYPI_PASSWORD }}
#- name: Build and publish
# env:
# TWINE_USERNAME: ${{ secrets.PYPI_USER_NAME }}
# TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
# if: env.TWINE_USERNAME != null
# run: |
# python setup.py bdist_wheel
# twine upload dist/*
6 changes: 6 additions & 0 deletions build_ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import multiprocessing as mp
import os
import platform
import re
import subprocess # nosec
import sys
Expand All @@ -11,6 +12,11 @@

TOP_DIR = Path(__file__).parent

print("Platform", platform.system())
uname = platform.uname()
if uname.system == "Darwin":
os.environ["MACOSX_DEPLOYMENT_TARGET"] = "11.0"


def banner(msg: str) -> None:
print("=" * 80)
Expand Down

0 comments on commit c5ef18f

Please sign in to comment.