-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from Leggin/extend-readme-and-clean-up
Extend readme and clean up
- Loading branch information
Showing
7 changed files
with
63 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta" | |
|
||
[project] | ||
name = "dirigera" | ||
version = "0.1.9" | ||
version = "0.1.10" | ||
description = "An unofficial Python client for controlling the IKEA Dirigera Smart Home Hub" | ||
readme = "README.md" | ||
authors = [{ name = "Leggin", email = "[email protected]" }] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
python3 -m build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,15 @@ | ||
#!/bin/bash | ||
|
||
#!/usr/bin/env bash | ||
set -a | ||
source .env | ||
source venv/bin/activate | ||
python3 -m pytest . | ||
|
||
if [ "$(uname)" == "Darwin" ]; then | ||
source venv/bin/activate | ||
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then | ||
source venv/bin/activate | ||
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]; then | ||
source venv/Scripts/activate | ||
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then | ||
source venv/Scripts/activate | ||
fi | ||
|
||
pytest . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,16 @@ | ||
#!/bin/bash | ||
#!/usr/bin/env bash | ||
|
||
python3 -m venv venv | ||
source venv/bin/activate | ||
pip install -r requirements.txt | ||
|
||
if [ "$(uname)" == "Darwin" ]; then | ||
source venv/bin/activate | ||
elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then | ||
source venv/bin/activate | ||
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW32_NT" ]; then | ||
source venv/Scripts/activate | ||
elif [ "$(expr substr $(uname -s) 1 10)" == "MINGW64_NT" ]; then | ||
source venv/Scripts/activate | ||
fi | ||
|
||
pip install -r requirements.txt | ||
pip install -r dev-requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters