Skip to content

Commit

Permalink
Merge pull request #424 from chinapandaman/PPF-423
Browse files Browse the repository at this point in the history
PPF-423: deprecate venv-linux
  • Loading branch information
chinapandaman authored Dec 20, 2023
2 parents bc8784f + b8832f2 commit 1e780b1
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 10 deletions.
1 change: 0 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
[run]
omit=
venv/*
venv-linux/*
tests/*
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
__pycache__/
temp/
venv/
venv-linux/
htmlcov/
.coverage
draft.py
Expand Down
2 changes: 1 addition & 1 deletion PyPDFForm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@

PyPDFForm = Wrapper

__version__ = "1.3.4"
__version__ = "1.3.5"
6 changes: 3 additions & 3 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
if [ ! -d "./venv-linux" ]; then
python3 -m venv venv-linux
if [ ! -d "./venv" ]; then
python3 -m venv venv
fi

if [[ "$VIRTUAL_ENV" == "" ]]; then
source "./venv-linux/bin/activate"
source "./venv/bin/activate"
fi

pip install -U pip
Expand Down
2 changes: 1 addition & 1 deletion scripts/check_imports.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if [[ "$VIRTUAL_ENV" == "" ]]; then
source "./venv-linux/bin/activate"
source "./venv/bin/activate"
fi

pylint ./tests | { grep "unused-import" || true; }
Expand Down
2 changes: 1 addition & 1 deletion scripts/coverage.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if [[ "$VIRTUAL_ENV" == "" ]]; then
source "./venv-linux/bin/activate"
source "./venv/bin/activate"
fi

rm -rf htmlcov/
Expand Down
2 changes: 1 addition & 1 deletion scripts/new_pdf_samples.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if [[ "$VIRTUAL_ENV" == "" ]]; then
source "./venv-linux/bin/activate"
source "./venv/bin/activate"
fi

pytest -v -s --regenerate=1
2 changes: 1 addition & 1 deletion scripts/test.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
if [[ "$VIRTUAL_ENV" == "" ]]; then
source "./venv-linux/bin/activate"
source "./venv/bin/activate"
fi

coverage run -m pytest -v -s && coverage report

0 comments on commit 1e780b1

Please sign in to comment.