mirror of
https://github.com/dathere/ckan-devstaller.git
synced 2026-02-16 22:38:00 +00:00
fix: update pip install URLs for CKAN and extensions
As per https://github.com/pypa/pip/issues/13157.
This commit is contained in:
parent
235494e3d1
commit
5cdaf50c38
2 changed files with 3 additions and 3 deletions
|
|
@ -228,7 +228,7 @@ rm -rf README ckan-compose ahoy dpp_default_config.ini get-docker.sh permissions
|
||||||
venv.pip_upgrade("pip")?;
|
venv.pip_upgrade("pip")?;
|
||||||
venv.pip_install(
|
venv.pip_install(
|
||||||
format!(
|
format!(
|
||||||
"git+https://github.com/ckan/ckan.git@ckan-{}#egg=ckan[requirements]",
|
"ckan[requirements]@git+https://github.com/ckan/ckan.git@ckan-{}",
|
||||||
config.ckan_version
|
config.ckan_version
|
||||||
)
|
)
|
||||||
.as_str(),
|
.as_str(),
|
||||||
|
|
|
||||||
|
|
@ -205,7 +205,7 @@ pub fn step_install_ckanext_scheming_extension(
|
||||||
);
|
);
|
||||||
cmd!(
|
cmd!(
|
||||||
sh,
|
sh,
|
||||||
"pip install -e git+https://github.com/ckan/ckanext-scheming.git#egg=ckanext-scheming"
|
"pip install -e ckanext-scheming@git+https://github.com/ckan/ckanext-scheming.git"
|
||||||
)
|
)
|
||||||
.run()?;
|
.run()?;
|
||||||
let mut conf = ini::Ini::load_from_file("/etc/ckan/default/ckan.ini")?;
|
let mut conf = ini::Ini::load_from_file("/etc/ckan/default/ckan.ini")?;
|
||||||
|
|
@ -245,7 +245,7 @@ pub fn step_install_datapusher_plus_extension(
|
||||||
sh.change_dir("/usr/lib/ckan/default/src");
|
sh.change_dir("/usr/lib/ckan/default/src");
|
||||||
cmd!(
|
cmd!(
|
||||||
sh,
|
sh,
|
||||||
"pip install -e git+https://github.com/dathere/datapusher-plus.git@main#egg=datapusher-plus"
|
"pip install -e datapusher-plus@git+https://github.com/dathere/datapusher-plus.git@main"
|
||||||
)
|
)
|
||||||
.run()?;
|
.run()?;
|
||||||
sh.change_dir("/usr/lib/ckan/default/src/datapusher-plus");
|
sh.change_dir("/usr/lib/ckan/default/src/datapusher-plus");
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue