Skip to content

Commit

Permalink
updated github workflow action to use python3
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanjeev Kumar committed Dec 8, 2023
1 parent c4fa8c5 commit 7e491af
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ jobs:
- name: install pip
run: python3 get-pip.py

- name: setuptools version
run: >-
python3 -c
"import setuptools; from setuptools import build_meta; print('Build meta: {}'.format(build_meta)); print(setuptools.__version__)"
- name: Install pypa/build
run: >-
python3 -m
Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,6 @@ all_files = 1
[upload_sphinx]
upload-dir = docs/build/html

[build-system]
requires = ["setuptools>=59.6.0"]
build-backend = "setuptools.build_meta"
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import ez_setup
ez_setup.use_setuptools()
# import ez_setup
# ez_setup.use_setuptools()
# help on python packaging: http://python-packaging.readthedocs.io/en/latest/index.html
try:
from setuptools import setup
Expand Down

0 comments on commit 7e491af

Please sign in to comment.