Skip to content

Commit

Permalink
merge: #17 from NaturalHistoryMuseum/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
alycejenni authored Dec 12, 2022
2 parents 8d892b6 + c2be61f commit c918eeb
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 24 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ Installing from a `pyproject.toml` in editable mode (i.e. `pip install -e`) requ
ckan.plugins = ... gbif
```

2. Install `lessc` globally:
```shell
npm install -g "less@~4.1"
```

<!--installation-end-->

# Configuration
Expand Down
2 changes: 0 additions & 2 deletions ckanext/gbif/theme/assets/webassets.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
main-css:
output: ckanext-gbif/%(version)s_gbif.css
filters: less
config:
LESS_BIN: ../../../../../node_modules/less/bin/lessc
contents:
- less/gbif.less

Expand Down
18 changes: 0 additions & 18 deletions package.json

This file was deleted.

8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ classifiers = [
"Programming Language :: Python :: 3.8"
]
dependencies = [
"ckantools>=0.3.0",
"python-dateutil",
"requests"
"requests",
"ckantools>=0.3.0"
]

[project.optional-dependencies]
Expand Down Expand Up @@ -52,14 +52,16 @@ zip-safe = false
[tool.setuptools.packages.find]
exclude = ["tests", "docs"]

[tool.setuptools.package-data]
"ckanext.gbif.theme" = ["*", "**/*"]

[tool.commitizen]
name = "cz_nhm"
version = "2.1.1"
tag_format = "v$version"
update_changelog_on_bump = true
changelog_incremental = true
version_files = [
"package.json",
"pyproject.toml:version"
]

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@

import setuptools

if __name__ == "__main__":
if __name__ == '__main__':
setuptools.setup()

0 comments on commit c918eeb

Please sign in to comment.