Skip to content

Commit

Permalink
Add python3 prereq and update command lines (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
1technophile authored Mar 7, 2022
1 parent e2840e8 commit aa99eb0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/auto_publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
- uses: actions/setup-python@v2
- name: Install pypa/build
run: |
python -m pip install --upgrade pip
pip install setuptools wheel scikit-build cmake ninja
python3 -m pip install --upgrade pip
pip3 install setuptools cmake wheel scikit-build ninja
- name: Build a source tarball
run: |
python setup.py sdist
python3 setup.py sdist
- name: Publish distribution 📦 to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/manual_test-pypi.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,24 @@
name: Publish distributions to PyPI and TestPyPI
name: Publish distribution to TestPyPI
on:
workflow_dispatch:
jobs:
build-n-publish:
name: Build and publish distributions to PyPI and TestPyPI
name: Build and publish distribution to TestPyPI
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install pypa/build
run: |
python -m pip install --upgrade pip
pip install setuptools wheel scikit-build cmake ninja
python3 -m pip install --upgrade pip
pip3 install setuptools cmake wheel scikit-build ninja
- name: Build a source tarball
run: |
python setup.py sdist
python3 setup.py sdist
- name: Publish distribution 📦 to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
Expand Down
4 changes: 2 additions & 2 deletions docs/install/install.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ python3 -m TheengsGateway -h
git clone https://github.com/theengs/gateway.git
cd gateway
git submodule update --init --recursive
python setup.py sdist
python3 setup.py sdist
cd sdist
pip install distribution_file_name
pip3 install distribution_file_name
```
:::tip
When launching the gateway you must be outside of its source code folder to avoid errors
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[build-system]
requires = ["setuptools", "wheel", "scikit-build", "cmake", "ninja"]
requires = ["setuptools", "cmake", "wheel", "scikit-build", "ninja"]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setup(
name="TheengsGateway",
version="0.1.3",
version="0.1.4",
long_description=long_description,
long_description_content_type='text/markdown',
author="Theengs",
Expand Down

0 comments on commit aa99eb0

Please sign in to comment.