Skip to content

Commit

Permalink
Apply review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
klmp200 committed Jun 23, 2024
1 parent 4cabb8b commit 2688851
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions core/management/commands/install_xapian.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,7 @@ cd $VIRTUAL_ENV/packages/${CORE}

PYV=`python -c "import sys;t='{v[0]}'.format(v=list(sys.version_info[:1]));sys.stdout.write(t)";`

if [ $PYV = "2" ]; then
PYTHON_FLAG=--with-python
else
PYTHON_FLAG=--with-python3
fi
PYTHON_FLAG=--with-python3

echo "Installing Xapian-bindings..."
cd $VIRTUAL_ENV/packages/${BINDINGS}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ Jinja2 = "^3.1"
django-countries = "^7.5.1"
dict2xml = "^1.7.3"
Sphinx = "^5" # Needed for building xapian
tomli = "^2.0.1"

# Extra optional dependencies
coverage = {version = "^5.5", optional = true}

# Docs extra dependencies
sphinx-rtd-theme = {version = "^1.0.0", optional = true}
sphinx-copybutton = {version = "^0.4.0", optional = true}
tomli = "^2.0.1"

[tool.xapian]
version = "1.4.25"
Expand Down

0 comments on commit 2688851

Please sign in to comment.