diff --git a/pyproject.toml b/pyproject.toml new file mode 100755 index 0000000..472a080 --- /dev/null +++ b/pyproject.toml @@ -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 = "by276@cornell.edu"} +] +maintainers = [ + {name = "Bo Yuan", email = "by276@cornell.edu"} +] +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"] \ No newline at end of file diff --git a/setup.py b/setup.py index 68f2634..8fbb0c3 100755 --- a/setup.py +++ b/setup.py @@ -23,9 +23,7 @@ PLATFORMS = "Any" PACKAGES = find_packages() SCRIPTS = [] -PACKAGE_DATA = { - # "cmaqpy": ["cmaqpy/data/*"], -} +PACKAGE_DATA = {} INSTALL_REQUIRES = [ "numpy", "scipy",