Skip to content

Commit

Permalink
Merge pull request #288 from RHammond2/patch/include_openoa_in_packages
Browse files Browse the repository at this point in the history
Fix `pyproject.toml` Specificaiton for Expected Installation
  • Loading branch information
RHammond2 committed Apr 6, 2024
2 parents bcac071 + cc33f82 commit 7a1e5f7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog
All notable changes to this project will be documented in this file. If you make a notable change to the project, please add a line describing the change to the "unreleased" section. The maintainers will make an effort to keep the [Github Releases](https://github.com/NREL/OpenOA/releases) page up to date with this changelog. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## v3.1.1 - 2024-04-05

- Patches `pyproject.toml`'s package data specification to include openoa in the valid packages to install.

## v3.1 - 2024-03-14

- Updated compatibility with Pandas datetime offsets. All uppercase offset strings representing
Expand Down
2 changes: 1 addition & 1 deletion openoa/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "3.1.0"
__version__ = "3.1.1"
"""
When bumping version, please be sure to also update parameters in sphinx/conf.py
"""
Expand Down
5 changes: 1 addition & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"

[metadata]
version = "attr: openoa.__version__"

[project]
name = "OpenOA"
dynamic = ["version"]
Expand Down Expand Up @@ -103,7 +100,7 @@ all = ["openoa[develop,docs,examples]"]
include-package-data = true

[tool.setuptools.packages.find]
include = ["test", "examples"]
include = ["openoa", "test", "examples"]

[tool.setuptools.dynamic]
version = {attr = "openoa.__version__"}
Expand Down

0 comments on commit 7a1e5f7

Please sign in to comment.