diff --git a/pyproject.toml b/pyproject.toml index b5a3c46..fc2dcb4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,38 @@ -[build-system] -requires = [ - "setuptools>=42", - "wheel" +[project] +name = "visualCaseGen" +version = "0.1.1" +authors = [ + { name = "Alper Altuntas, NCAR", email = "altuntas@ucar.edu" } +] +description = "A GUI to guide CESM users when creating a new case." +readme = "README.md" +license = { file = "LICENSE.md" } +classifiers = [ + "Intended Audience :: Science/Research", + "License :: OSI Approved :: LGPL", + "Programming Language :: Python", + "Framework :: Jupyter" ] -build-backend = "setuptools.build_meta" \ No newline at end of file +requires-python = ">=3.10" +dependencies = [ + "ipykernel>=6.29,<6.30", + "ipython>=8.2,<8.3", + "jupyterlab>=4.0,<4.1", + "jupyterlab_server>=2.25,<2.26", + "ipywidgets>=8.1.1,<8.2", + "PyYAML>=6.0,<6.1", + "z3-solver>=4.12.3,<4.13", + "networkx>=3.3,<3.4", + "matplotlib>3.6,<3.7", + "netcdf4>=1.6,<1.7", + "xarray>=2023.12,<2024", + "black>=24.1,<24.2", + "pytest>=8.0,<8.1" +] + +[build-system] +requires = ["setuptools>=42", "wheel"] +build-backend = "setuptools.build_meta" + +[tool.setuptools] +packages = ["ProConPy", "visualCaseGen"] \ No newline at end of file diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 8b441ac..0000000 --- a/setup.cfg +++ /dev/null @@ -1,42 +0,0 @@ -[metadata] -name = visualCaseGen -version = 0.0.1 -author = Alper Altuntas, NCAR -author_email = altuntas@ucar.edu -license_file = LICENSE.md -description = A GUI to guide CESM users when creating a new case. -long_description = file: README.md -long_description_content_type = text/markdown -url = https://github.com/ESMCI/visualCaseGen -keywords = CESM, simple, models, ipython, widgets -platforms = Linux, Mac OS X -license = LGPL -classifiers = - Intended Audience :: Science/Research - License :: OSI Approved :: LGPL - Programming Language :: Python - Programming Language :: Python :: 3.9 - Programming Language :: Python :: 3.10 - Programming Language :: Python :: 3 :: Only - Framework :: Jupyter - -[options] -python_requires = >=3.10 - -zip_safe = False -packages = find: - -install_requires = - ipykernel>=6.29,<6.30 - ipython>=8.2,<8.3 - jupyterlab>=4.0,<4.1 - jupyterlab_server>=2.25,<2.26 - ipywidgets>=8.1.1,<8.2 - PyYAML>=6.0,<6.1 - z3-solver>=4.12.3,<4.13 - networkx>=3.3,<3.4 - matplotlib>3.6,<3.7, - netcdf4>=1.6,<1.7 - xarray>=2023.12,<2024 - black>=24.1,<24.2 - pytest>=8.0,<8.1 diff --git a/setup.py b/setup.py deleted file mode 100644 index 0f05f82..0000000 --- a/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -from setuptools import setup -if __name__ == '__main__': - setup() \ No newline at end of file