diff --git a/MANIFEST b/MANIFEST index 3167ed9..5aab9d9 100644 --- a/MANIFEST +++ b/MANIFEST @@ -1,5 +1,4 @@ esoreader.py -setup.cfg -setup.py +pyproject.tml README.rst LICENSE.TXT diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..d719b06 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,31 @@ +[project] +name = "esoreader" +version = "1.2.3" +description = "A module for parsing EnergyPlus *.eso files" +readme = "README.md" +license = { file = "LICENSE.txt" } +authors = [ + { name = "Daren Thomas", email = "thomas@arch.ethz.ch" } +] +keywords = ["simulation", "parsing", "energyplus", "pandas"] +classifiers = [ + "Programming Language :: Python :: 3", + "License :: OSI Approved :: MIT License", + "Operating System :: OS Independent" +] +dependencies = [ + "pandas", + "pytest" +] + +[project.urls] +Homepage = "https://github.com/architecture-building-systems/esoreader" +Repository = "https://github.com/architecture-building-systems/esoreader" +Download = "https://github.com/architecture-building-systems/esoreader/archive/1.2.3.tar.gz" + +[tool.setuptools] +py-modules = ["esoreader"] + +[build-system] +requires = ["setuptools>=61.0", "wheel"] +build-backend = "setuptools.build_meta" diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 7f28e21..0000000 --- a/setup.cfg +++ /dev/null @@ -1,3 +0,0 @@ -[metadata] - -description-file = README.md diff --git a/setup.py b/setup.py deleted file mode 100644 index fd8977c..0000000 --- a/setup.py +++ /dev/null @@ -1,22 +0,0 @@ -from distutils.core import setup -import os - - -long_description = 'see the GitHub repository for more information: https://github.com/architecture-building-systems/esoreader' # noqa -if os.path.exists('README.rst'): - long_description = open('README.rst').read() - - -setup( - name='esoreader', - py_modules=['esoreader'], # this must be the same as the name above - version='1.2.3', - description='A module for parsing EnergyPlus *.eso files', - long_description=long_description, - author='Daren Thomas', - author_email='thomas@arch.ethz.ch', - url='https://github.com/architecture-building-systems/esoreader', - download_url='https://github.com/architecture-building-systems/esoreader/archive/1.2.3.tar.gz', # noqa - keywords=['simulation', 'parsing', 'energyplus', 'pandas'], # arbitrary keywords # noqa - classifiers=[], -)