Skip to content

Commit

Permalink
going to try without poetry and with os-specific requirement files
Browse files Browse the repository at this point in the history
  • Loading branch information
jarathomas committed Jun 6, 2024
1 parent 45c17e9 commit 8c308c7
Show file tree
Hide file tree
Showing 2 changed files with 68 additions and 14 deletions.
32 changes: 18 additions & 14 deletions .github/workflows/create_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,38 +25,42 @@ jobs:
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Set up poetry
run: |
pipx install poetry
- name: Install boost for Mac
if: runner.os == 'macOS'
run: |
brew update
brew install boost
echo "LDFLAGS=-L/opt/homebrew/Cellar/lib" >> "$GITHUB_ENV"
echo "CPPFLAGS=-I/opt/homebrew/include" >> "$GITHUB_ENV"
# - name: Set up poetry
# run: |
# pipx install poetry
# - name: Install boost for Mac
# if: runner.os == 'macOS'
# run: |
# brew update
# brew install boost
# echo "LDFLAGS=-L/opt/homebrew/Cellar/lib" >> "$GITHUB_ENV"
# echo "CPPFLAGS=-I/opt/homebrew/include" >> "$GITHUB_ENV"
- name: Install dependencies
run: |
poetry install
# poetry install
python -m pip install -r requirements-mac.txt
- name: Install dependencies of macOS
if: runner.os == 'macOS'
run: |
brew update
brew install libiodbc libpq
- name: Build Windows installer
if: runner.os == 'Windows'
run: poetry run python setup.py bdist_msi
# run: poetry run python setup.py bdist_msi
run: python -m pip install -r requirements.txt
- name: Build installer for macos-latest
if: matrix.os == 'macos-latest'
run: |
poetry run python setup.py bdist_dmg
# poetry run python setup.py bdist_dmg
python setup.py bdist_dmg
pwd
ls ./build
mv ./build/pyopenva.dmg ./build/pyopenva-1.2-macos-14.dmg
- name: Build installer for macos-13
if: matrix.os == 'macos-13'
run: |
poetry run python setup.py bdist_dmg
# poetry run python setup.py bdist_dmg
python setup.py bdist_dmg
pwd
ls ./build/
mv ./build/pyopenva.dmg ./build/pyopenva-1.2-macos-13.dmg
Expand Down
50 changes: 50 additions & 0 deletions requirements-mac.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
alabaster==0.7.16
Babel==2.15.0
certifi==2024.2.2
charset-normalizer==3.3.2
click==8.1.7
contourpy==1.2.1
cx-Freeze==6.15.12
cycler==0.12.1
docutils==0.21.2
fonttools==4.53.0
idna==3.7
imagesize==1.4.1
insilicova==0.1.3
interva==1.0.0
Jinja2==3.1.4
kiwisolver==1.4.5
MarkupSafe==2.1.5
matplotlib==3.6.3
numpy==1.26.4
packaging==24.0
pandas==2.0.3
patsy==0.5.6
pillow==10.3.0
pycrossva==0.98
Pygments==2.18.0
pyparsing==3.1.2
PyQt5==5.15.10
PyQt5-Qt5==5.15.13
PyQt5-sip==12.13.0
PyQtWebEngine==5.15.6
PyQtWebEngine-Qt5==5.15.13
python-dateutil==2.9.0.post0
pytz==2024.1
requests==2.32.3
scipy==1.13.1
six==1.16.0
snowballstemmer==2.2.0
Sphinx==7.3.7
sphinxcontrib-applehelp==1.0.8
sphinxcontrib-devhelp==1.0.6
sphinxcontrib-htmlhelp==2.0.5
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.7
sphinxcontrib-serializinghtml==1.1.10
sphinxemoji==0.3.1
statsmodels==0.14.2
tzdata==2024.1
urllib3==2.2.1
vacheck==0.0.3
xlrd==2.0.1

0 comments on commit 8c308c7

Please sign in to comment.