From 9eab0cdfa192b96ae8dc15075bb495b36e9b2daa Mon Sep 17 00:00:00 2001 From: Dustin Spicuzza Date: Fri, 7 Jan 2022 17:20:58 -0500 Subject: [PATCH] Get rid of setup.py, upgrade more things --- pyproject.toml | 5 ++++- setup.cfg | 6 ++---- setup.py | 5 ----- 3 files changed, 6 insertions(+), 10 deletions(-) delete mode 100644 setup.py diff --git a/pyproject.toml b/pyproject.toml index 2dc4f738..5a509d62 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,8 @@ [build-system] -requires = ['setuptools>=43', 'wheel', 'setuptools_scm~=5.0.1'] +requires = ["setuptools>=45", "wheel", "setuptools_scm>=6.2"] +build-backend = "setuptools.build_meta" + +[tool.setuptools_scm] [tool.black] target-version = ['py36'] diff --git a/setup.cfg b/setup.cfg index 22e8391d..fc8b284a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,8 +23,8 @@ zip_safe = False include_package_data = True packages = find: install_requires = - setuptools >= 43 - setuptools_scm == 5.0.* + setuptools >= 45 + setuptools_scm >= 6.2 header2whatever >= 0.4.2 robotpy-cppheaderparser >= 5.0.12 sphinxify >= 0.7.3 @@ -37,8 +37,6 @@ install_requires = dataclasses; python_version < '3.7' delocate; platform_system == 'Darwin' distro; platform_system == 'Linux' -setup_requires = - setuptools_scm python_requires = >=3.6 [options.entry_points] diff --git a/setup.py b/setup.py deleted file mode 100644 index 44b3ba8e..00000000 --- a/setup.py +++ /dev/null @@ -1,5 +0,0 @@ -#!/usr/bin/env python3 - -from setuptools import setup - -setup(use_scm_version=True)