Skip to content

Commit

Permalink
chore: update pyproject.toml file for packaging with Hatch
Browse files Browse the repository at this point in the history
  • Loading branch information
rouille committed Dec 11, 2023
1 parent 7580cc7 commit 1ef0d7c
Showing 1 changed file with 62 additions and 2 deletions.
64 changes: 62 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,67 @@
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"


[project]
name = "open-grid-emissions"
requires-python = ">3.10"
name = "oge"
version = "0.2.2"
requires-python = ">3.11"
readme = "README.md"
authors = [
{ name="Greg Miller", email="[email protected]" },
]
description = "Open-source grid emissions data processing tools"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]

dependencies = [
"cvxopt",
"cvxpy",
"osqp",
"numpy",
"openpyxl",
"pandas",
"pyarrow",
"qdldl",
"requests",
"sqlalchemy",
"statsmodels",
"coloredlogs",
"catalystcoop-pudl@git+https://github.com/singularity-energy/pudl.git",
"gridemissions@git+https://github.com/gailin-p/gridemissions.git",
]

[project.optional-dependencies]
dev = [
"pytest",
"ruff",
]
notebook = [
"ipykernel",
"notebook",
"plotly",
"seaborn",
]

[project.urls]
Homepage = "https://github.com/singularity-energy/open-grid-emissions"
Issues = "https://github.com/singularity-energy/open-grid-emissions/issues"

[tool.hatch.metadata]
allow-direct-references = true

[tool.hatch.build.targets.wheel]
only-include = ["config", "data/manual", "src/oge"]

[tool.hatch.build.targets.wheel.sources]
"src" = ""
"data" = "oge/data"
"config" = "oge/config"


[tool.ruff]
# Exclude a variety of commonly ignored directories.
Expand Down

0 comments on commit 1ef0d7c

Please sign in to comment.