Skip to content

Commit

Permalink
improve toml
Browse files Browse the repository at this point in the history
  • Loading branch information
laszewsk committed Dec 16, 2023
1 parent e9100a8 commit 14a7ac6
Show file tree
Hide file tree
Showing 4 changed files with 117 additions and 42 deletions.
76 changes: 36 additions & 40 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]"}
]
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 = "[email protected]"
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 = "[email protected]"}
]
maintainers = [
{name = "Gregor von Laszewski", email = "[email protected]"}
]
keywords = ["helper library", "cloudmesh"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
Expand Down Expand Up @@ -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"]
2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

81 changes: 81 additions & 0 deletions setup.cfg-old
Original file line number Diff line number Diff line change
@@ -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 = [email protected]
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
File renamed without changes.

0 comments on commit 14a7ac6

Please sign in to comment.