diff --git a/pyproject.toml b/pyproject.toml index 981f0055..2a367b51 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,47 +1,27 @@ # pyproject.toml [build-system] -requires = ["setuptools >= 61.0", "wheel >= 0.36.2"] build-backend = "setuptools.build_meta" - -[project] -maintainers = [ - {name = "Gregor von Laszewski", email = "laszewski@gmail.com"} -] -dependencies = [ - "python-dateutil", - "colorama", - "humanize", - "oyaml", - "pyfiglet", - "python-hostlist", - "requests", - "simplejson", - "six", - "tabulate", - "tqdm", - "pyyaml", - "psutil", - "pywin32; platform_system == 'Windows'", - "pyuac; platform_system == 'Windows'" +requires = [ + "setuptools >= 69", + "wheel >= 0.42", + "pip >= 23.2.1" ] -[tool.setuptools] +[project] name = "cloudmesh-common" version = "5.0.6" -python_requires = ">=3.12" - -[tool.setuptools.sdist] -formats = ["gztar", "zip"] - -[tool.setuptools.metadata] -name = "cloudmesh-common" -version = "your_version" # Replace with your actual version description = "A set of useful APIs for cloudmesh" -author = "Gregor von Laszewski" -author_email = "laszewski@gmail.com" -url = "https://github.com/cloudmesh/cloudmesh-common" -license = "Apache 2.0" +readme = "README.md" +requires-python = ">=3.12" +license = {file = "LICENSE"} +authors = [ + {name = "Gregor von Laszewski", email = "laszewski@gmail.com"} +] +maintainers = [ + {name = "Gregor von Laszewski", email = "laszewski@gmail.com"} +] +keywords = ["helper library", "cloudmesh"] classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Console", @@ -70,8 +50,24 @@ classifiers = [ "Topic :: Utilities", ] -[tool.setuptools.dependency_links] -# Specify your dependency links if needed - -[build-system] -requires = ["setuptools", "wheel"] +dependencies = [ + "python-dateutil", + "colorama", + "humanize", + "oyaml", + "pyfiglet", + "python-hostlist", + "requests", + "simplejson", + "six", + "tabulate", + "tqdm", + "pyyaml", + "psutil", + "pywin32; platform_system == 'Windows'", + "pyuac; platform_system == 'Windows'" +] +[project.urls] +"Documentation" = "https://github.com/cloudmesh/cloudmesh-common" +[tool.setuptools.packages.find] +exclude = ["decrecated", "tests", "tests.*", "examples"] diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 2a9acf13..00000000 --- a/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[bdist_wheel] -universal = 1 diff --git a/setup.cfg-old b/setup.cfg-old new file mode 100644 index 00000000..0da9ed3c --- /dev/null +++ b/setup.cfg-old @@ -0,0 +1,81 @@ +[bdist_wheel] +universal = 1 + +# setup.cfg + +[metadata] +name = cloudmesh-common +version = attr: cloudmesh_common.VERSION +author = Gregor von Laszewski +author_email = laszewski@gmail.com +description = A set of useful APIs for cloudmesh +long_description = file: README.md +long_description_content_type = text/markdown +url = https://github.com/cloudmesh/cloudmesh-common +license = Apache 2.0 +classifiers = + Development Status :: 5 - Production/Stable + Environment :: Console + Environment :: Other Environment + Environment :: Plugins + Intended Audience :: Information Technology + Intended Audience :: Developers + Intended Audience :: Education + Intended Audience :: Science/Research + Intended Audience :: System Administrators + License :: OSI Approved :: Apache Software License + Natural Language :: English + Operating System :: OS Independent + Operating System :: MacOS :: MacOS X + Operating System :: POSIX :: Linux + Operating System :: Microsoft :: Windows :: Windows 10 + Programming Language :: Python + Programming Language :: Python :: 3 + Programming Language :: Python :: 3.12 + Topic :: Internet + Topic :: Scientific/Engineering + Topic :: Software Development :: Libraries + Topic :: Software Development :: User Interfaces + Topic :: System + Topic :: System :: Distributed Computing + Topic :: System :: Shells + Topic :: Utilities + +[options] +zip_safe = False +include_package_data = True +packages = find_namespace: +package_dir = + cloudmesh = cloudmesh + +[options.find_namespace] +exclude = + tests + deprecated + propose + examples + conda + +[options.install_requires] +psutil +python-dateutil +colorama +humanize +oyaml +pyfiglet +python-hostlist +requests +simplejson +six +tabulate +tqdm +pyyaml + +[options.extras_require] +:platform_system == "Windows" + pywin32 + pyuac + +[options.tests_require] +flake8 +coverage diff --git a/setup.py b/setup.py-old similarity index 100% rename from setup.py rename to setup.py-old