Skip to content

Commit

Permalink
first commit for the CKAN 2.10 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
Gpetrak committed Jul 10, 2024
1 parent c073e65 commit b39fb9a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ To install ckanext-multilang:
cd ckanext-multilang

pip install -e .

python setup.py develop

3. Initialize the DB with the mandatory Tables needed for localized records:

Expand Down
4 changes: 2 additions & 2 deletions ckanext/multilang/harvesters/multilang.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import ckan.lib.dictization.model_dictize as model_dictize
import ckan.lib.search as search
from ckan.lib.base import model
from ckan import model
from ckan.common import config
from ckan.model import Package, Session
from ckan.plugins.core import SingletonPlugin
Expand All @@ -16,7 +16,7 @@
TagMultilang,
)
from ckanext.spatial.harvesters.csw import CSWHarvester
from ckanext.spatial.model import (
from ckanext.spatial.harvested_metadata import (
ISODocument,
ISOElement,
ISOKeyword,
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,9 +64,10 @@
# project is installed. For an analysis of "install_requires" vs pip's
# requirements files see:
# https://packaging.python.org/en/latest/technical.html#install-requires-vs-requirements-files
install_requires=[
'ckan>=2.9',
],
# Uncomment the following three lines if CKAN isn't isntalled in your system
#install_requires=[
# 'ckan>=2.9',
#],
python_requires=">=3.7",

# If there are data files included in your packages that need to be
Expand Down

0 comments on commit b39fb9a

Please sign in to comment.