Skip to content

Commit

Permalink
feat: Support multiple python versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewjw committed Mar 9, 2023
1 parent c0fb0cf commit 648a85a
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bin/glowprom
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env python3.8
#!/usr/bin/env python3
# glowprom
# Copyright (C) 2020 Andrew Wilkinson
#
Expand Down
36 changes: 36 additions & 0 deletions buildbot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,46 @@

set -e

python3.8 -m venv venv-3.8

. venv-3.8/bin/activate

pip3 install -r requirements.txt
./run_tests.sh
./code_style.sh

deactivate

python3.9 -m venv venv-3.9

. venv-3.9/bin/activate

pip3 install -r requirements.txt

./run_tests.sh
./code_style.sh

deactivate

python3.10 -m venv venv-3.10

. venv-3.10/bin/activate

pip3 install -r requirements.txt

./run_tests.sh
./code_style.sh

deactivate

python3.11 -m venv venv-3.11

. venv-3.11/bin/activate

pip3 install -r requirements.txt

./run_tests.sh
./code_style.sh

BRANCH=$(git rev-parse --abbrev-ref HEAD)
echo "Building branch $BRANCH"
Expand Down
3 changes: 3 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@
scripts=["bin/glowprom"],
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
Expand Down

0 comments on commit 648a85a

Please sign in to comment.