ckanext-openenergy
Installation
To install ckanext-openenergy:
-
Activate your CKAN virtual environment, for example:
. /usr/lib/ckan/default/bin/activate -
Install the ckanext-openenergy Python package into your virtual environment:
pip install ckanext-openenergy -
Add
openenergyto theckan.pluginssetting in your CKAN config file (by default the config file is located at/etc/ckan/default/production.ini). -
Restart CKAN. For example if you've deployed CKAN with Apache on Ubuntu:
sudo service apache2 reload
Config Settings
Document any optional config settings here. For example:
# The minimum number of hours to wait before re-checking a resource
# (optional, default: 24).
ckanext.openenergy.some_setting = some_default_value
Development Installation
To install ckanext-openenergy for development, activate your CKAN virtualenv and do:
git clone https://github.com/openclimatefix/ckanext-openenergy.git
cd ckanext-openenergy
python setup.py develop
Deploying a new version to PyPi
git tag 0.0.5
git push --tags
python setup.py sdist
python3 -m twine upload dist/*
Metadata
Release files for ckanext-openenergy 0.0.15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ckanext-openenergy-0.0.15.tar.gz | 13.8 kB | Details |
Release files / ckanext-openenergy-0.0.15.tar.gz
| Download URL | ckanext-openenergy-0.0.15.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6e61bce7d5aa6e4c1c15bdccedde50238fbfafb89aa9f6ef9c6edc076b8ad11
|
|
BLAKE2b-256 checksum How to use checksums |
59fec0cb4bf92d6d442429c4425621f1c9d77d19f43dda03398bf654d705f503
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.9.0
|