diff --git a/setup.cfg b/setup.cfg index 0f94f37..e48a6dc 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,43 @@ [metadata] -description_file = README.md \ No newline at end of file +name = solarspatialtools +version = 0.4.5 +author = 'Joe Ranalli' +author_email = jar339@psu.edu +description = A package for spatial analysis of solar energy and solar irradiance +long_description = file: README.md +long_description_content_type = text/markdown +url = https://github.com/jranalli/solarspatialtools +project_urls = + Bug Tracker = https://github.com/jranalli/solarspatialtools/issues + Documentation = https://solarspatialtools.readthedocs.io +classifiers = + Programming Language :: Python :: 3 + License :: OSI Approved :: BSD (3 Clause) + Operating System :: OS Independent + Topic :: Scientific/Engineering + Intended Audience :: Science/Research + +[options] +install_requires = + numpy<2 + pandas<=2.2.2 + tables<=3.9.2 + pyproj<=3.6.1 + pvlib<=0.11.0 + netcdf4<1.7.2 + scipy<=1.14.0 + matplotlib<=3.9.2 + +[options.extras_require] +tests = + pytest + +demos = + jupyter + +docs = + sphinx + sphinx_rtd_theme + nbsphinx + ipython + nbsphinx-link \ No newline at end of file diff --git a/setup.py b/setup.py deleted file mode 100644 index 74cf9ea..0000000 --- a/setup.py +++ /dev/null @@ -1,33 +0,0 @@ -from setuptools import setup, find_packages - -with open("README.md", "r") as fh: - long_description = fh.read() - -ver = '0.4.5' - - -setup( - name='solarspatialtools', - version=ver, - author="Joe Ranalli", - author_email="jranalli@psu.edu", - description="Spatial analysis tools for solar energy research", - long_description=long_description, - long_description_content_type="text/markdown", - url="https://github.com/jranalli/solarspatialtools", - download_url="https://github.com/jranalli/solarspatialtools/archive/{}.tar.gz".format(ver), - package_dir={"": "src"}, - packages=find_packages(where="src"), - install_requires=[ - 'numpy<2', - 'pandas<=2.2.2', - 'tables<=3.9.2', - 'pyproj<=3.6.1', - 'pvlib<=0.11.0', - 'netcdf4<1.7.2', - 'scipy<=1.14.0', - 'matplotlib<=3.9.2', - ], - license='BSD (3 Clause)', - extras_require=dict(tests=['pytest'], demos=['jupyter'], docs=['sphinx', 'nbsphinx', 'sphinx_rtd_theme', 'ipython', 'nbsphinx-link']), -)