-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add failure and repair probability parameters for generation types * Add pyproject.toml for project configuration and dependencies
- Loading branch information
Showing
3 changed files
with
72 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
[build-system] | ||
requires = ["setuptools>=42", "wheel"] | ||
build-backend = "setuptools.build_meta" | ||
|
||
[project] | ||
name = "nygrid" | ||
version = "0.1.0" # Update this to match your version | ||
description = "A python version of the NYgrid model" | ||
readme = "README.md" # Adjust if your README file is named differently | ||
license = {text = "MIT License"} | ||
authors = [ | ||
{name = "The NYgrid-python Developers", email = "[email protected]"} | ||
] | ||
maintainers = [ | ||
{name = "Bo Yuan", email = "[email protected]"} | ||
] | ||
classifiers = [ | ||
"Development Status :: 2 - Pre-Alpha", | ||
"Intended Audience :: Science/Research", | ||
"Topic :: Scientific/Engineering", | ||
"Programming Language :: Python :: 3 :: Only", | ||
] | ||
keywords = ["Power system", "Renewable energy", "Optimization"] | ||
dependencies = [ | ||
"numpy", | ||
"scipy", | ||
"pandas", | ||
"pyomo", | ||
"pypower", | ||
"matplotlib", | ||
"openpyxl" | ||
] | ||
requires-python = ">=3.7" | ||
urls = {homepage = "https://github.com/boyuan276/NYgrid-python"} | ||
|
||
[tool.setuptools] | ||
packages = ["nygrid"] # If your package is a directory named nygrid | ||
|
||
[project.optional-dependencies] | ||
dev = ["pytest", "black"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters