diff --git a/LICENSE b/LICENSE index 96d238f..ae959c1 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2017-2018, Georgi Valkov. All rights reserved. +Copyright (c) 2017-2024, Georgi Valkov. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/pyproject.toml b/pyproject.toml index c37d1ce..e40f7b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,32 @@ [build-system] -requires = ["setuptools>=36", "wheel"] +requires = ["setuptools>=61.2"] build-backend = "setuptools.build_meta" + +[project] +name = "setuptools-py2cfg" +version = "2.0.0" +authors = [{name = "Georgi Valkov", email = "georgi.t.valkov@gmail.com"}] +license = {text = "Revised BSD License"} +description = "Converts a setuptools setup.py to setup.cfg" +readme = "README.md" +keywords = ["setuptools", "setup.cfg"] +classifiers = [ + "Development Status :: 5 - Production/Stable", + "Programming Language :: Python :: 3", + "Intended Audience :: Developers", + "License :: OSI Approved :: BSD License", +] +requires-python = ">=3.6" +dependencies = ['setuptools; python_version>="3.12"'] + +[project.urls] +Homepage = "https://github.com/gvalkov/setuptools-py2cfg" + +[project.optional-dependencies] +test = ["pytest"] + +[project.scripts] +setuptools-py2cfg = "setuptools_py2cfg:main" + +[tool.setuptools] +py-modules = ["setuptools_py2cfg"] diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 9b93eee..0000000 --- a/setup.cfg +++ /dev/null @@ -1,30 +0,0 @@ -[metadata] -name = setuptools-py2cfg -version = 2.0.0 -author = Georgi Valkov -author_email = georgi.t.valkov@gmail.com - -license = Revised BSD License -description = Convert a setuptools setup.py to a setup.cfg -long_description = file: README.rst -keywords = setuptools, setup.cfg -url = https://github.com/gvalkov/setuptools-py2cfg - -classifiers = - Development Status :: 5 - Production/Stable - Programming Language :: Python :: 3 - Intended Audience :: Developers - License :: OSI Approved :: BSD License - -[options] -zip_safe = True -py_modules = setuptools_py2cfg -python_requires = >=3.3 -install_requires = - setuptools; python_version>="3.12" - -[options.extras_require] -test = pytest - -[options.entry_points] -console_scripts = setuptools-py2cfg = setuptools_py2cfg:main diff --git a/setup.py b/setup.py deleted file mode 100644 index b908cbe..0000000 --- a/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -import setuptools - -setuptools.setup()