Skip to content

Commit

Permalink
Build wheel in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
vladtcvs committed Sep 10, 2024
1 parent e33040a commit 8e0b480
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,17 @@ jobs:
python -m pip install pylint
python -m pip install pytest
python -m pip install pytest-cov
python -m pip install build
python -m pip install cython
python -m pip install wheel
python -m pip install -r requirements.txt
- name: Lint with pylint
run: |
pylint --rcfile=pylintrc --fail-under=9 src/
- name: Build & Install
run: |
python setup.py build
python setup.py install
python -m build . --wheel
find ./dist/*.whl | xargs python -m pip install
- name: Test that tools launches
run: |
vstarstack
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@
packages = result

setup (name = 'vstarstack',
version = '0.2',
version = '0.2.1',
author='Vladislav Tsendrovskii',
description = 'Stacking astrophotos',
package_dir = {'': 'src'},
package_dir = {'vstarstack': 'src/vstarstack'},
packages=packages,
ext_modules = [projection,
movements,
Expand All @@ -104,5 +104,6 @@
'imutils',
'matplotlib',
'pytz',
]
],
requires=["setuptools", "cython", "numpy"]
)

0 comments on commit 8e0b480

Please sign in to comment.