Skip to content

Commit

Permalink
Convert to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
gvalkov committed Sep 7, 2024
1 parent 8de5ef9 commit cbd2d48
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 35 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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:
Expand Down
31 changes: 30 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = "[email protected]"}]
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"]
30 changes: 0 additions & 30 deletions setup.cfg

This file was deleted.

3 changes: 0 additions & 3 deletions setup.py

This file was deleted.

0 comments on commit cbd2d48

Please sign in to comment.