Skip to content

Commit aa99eb0

Browse files
authored
Add python3 prereq and update command lines (#16)
1 parent e2840e8 commit aa99eb0

File tree

5 files changed

+14
-12
lines changed

5 files changed

+14
-12
lines changed

.github/workflows/auto_publish-to-pypi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
- uses: actions/setup-python@v2
1515
- name: Install pypa/build
1616
run: |
17-
python -m pip install --upgrade pip
18-
pip install setuptools wheel scikit-build cmake ninja
17+
python3 -m pip install --upgrade pip
18+
pip3 install setuptools cmake wheel scikit-build ninja
1919
- name: Build a source tarball
2020
run: |
21-
python setup.py sdist
21+
python3 setup.py sdist
2222
- name: Publish distribution 📦 to PyPI
2323
uses: pypa/gh-action-pypi-publish@master
2424
with:

.github/workflows/manual_test-pypi.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,24 @@
1-
name: Publish distributions to PyPI and TestPyPI
1+
name: Publish distribution to TestPyPI
22
on:
33
workflow_dispatch:
44
jobs:
55
build-n-publish:
6-
name: Build and publish distributions to PyPI and TestPyPI
6+
name: Build and publish distribution to TestPyPI
77
runs-on: ubuntu-20.04
88
steps:
99
- uses: actions/checkout@v2
1010
with:
1111
submodules: recursive
1212
- uses: actions/setup-python@v2
13+
with:
14+
python-version: '3.x'
1315
- name: Install pypa/build
1416
run: |
15-
python -m pip install --upgrade pip
16-
pip install setuptools wheel scikit-build cmake ninja
17+
python3 -m pip install --upgrade pip
18+
pip3 install setuptools cmake wheel scikit-build ninja
1719
- name: Build a source tarball
1820
run: |
19-
python setup.py sdist
21+
python3 setup.py sdist
2022
- name: Publish distribution 📦 to Test PyPI
2123
uses: pypa/gh-action-pypi-publish@master
2224
with:

docs/install/install.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ python3 -m TheengsGateway -h
2020
git clone https://github.com/theengs/gateway.git
2121
cd gateway
2222
git submodule update --init --recursive
23-
python setup.py sdist
23+
python3 setup.py sdist
2424
cd sdist
25-
pip install distribution_file_name
25+
pip3 install distribution_file_name
2626
```
2727
:::tip
2828
When launching the gateway you must be outside of its source code folder to avoid errors

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[build-system]
2-
requires = ["setuptools", "wheel", "scikit-build", "cmake", "ninja"]
2+
requires = ["setuptools", "cmake", "wheel", "scikit-build", "ninja"]

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
setup(
2020
name="TheengsGateway",
21-
version="0.1.3",
21+
version="0.1.4",
2222
long_description=long_description,
2323
long_description_content_type='text/markdown',
2424
author="Theengs",

0 commit comments

Comments
 (0)