Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions conda/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Conda Recipe

`recipe.yaml` is used to package up Nemosis to publish on Conda forge.

More info on this file structure is available [here](https://conda-forge.org/docs/maintainer/example_recipes/pure-python/).

When the dependencies of Nemosis change in `../pyproject.toml`, we don't _need_ to update this file too.
Conda has scripts to check new releases on Pypi and adjust them accordingly.
56 changes: 56 additions & 0 deletions conda/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
context:
version: 3.8.1

package:
name: nemosis
version: ${{ version }}

source:
- url: https://pypi.org/packages/source/n/nemosis/nemosis-${{ version }}.tar.gz
sha256: 97eeeb46be38f82d4e2bc9375c60fc86e0d708a3fb7e26d9d3aa7517d9c0a397

build:
number: 0
script:
- ${{ PYTHON }} -m pip install . -vv --no-deps --no-build-isolation
noarch: python

requirements:
host:
- python ${{ python_min }}.*
- hatchling
- pip
run:
- python >=${{ python_min }}
- requests >=2.32.3
- pyarrow >=22.0.0
- feather-format >=0.4.1
- pandas >=2.2.3
- xlrd >=2.0.1
- beautifulsoup4 >=4.12.3
- openpyxl >=3.1.5
- cachetools >=5.5.0

tests:
- python:
imports:
- nemosis
python_version:
- ${{ python_min }}.*
- "*"
pip_check: true


about:
homepage: https://github.com/UNSW-CEEM/NEMOSIS/
license: GPL-3.0-only
license_file: LICENSE
summary: A tool for accessing AEMO data.
description: |
A Python package for downloading historical data
published by the Australian Energy Market Operator (AEMO)
repository: https://github.com/UNSW-CEEM/NEMOSIS/

extra:
recipe-maintainers:
- mdavis-xyz
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ authors = [
{ name = "prakaa", email = "abiprakash007@gmail.com" }
]
dependencies = [
# If updating these, also apply the same update to ./conda/meta.yaml
"requests>=2.32.3",
"pyarrow>=22.0.0",
"feather-format>=0.4.1",
Expand Down
Loading