diff --git a/pyproject.toml b/pyproject.toml index e0d775c..6d3e486 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,27 @@ +[project] +name = "sphinx-click" +# NOTE: The only one of these that is truly dynamic is the "version" attribute, +# but we need to specify the rest of these to keep setuptools happy +dynamic = [ + "version", + "description", + "readme", + "requires-python", + "license", + "authors", + "keywords", + "classifiers", + "urls", + "dependencies", +] + +[build-system] +requires = ["setuptools>=36.6.0", "pbr>=5.7.0"] +build-backend = "pbr.build" + +[tool.setuptools] +py-modules = [] + [tool.black] line-length = 88 target-version = ['py36'] diff --git a/setup.py b/setup.py index 26f5ba6..23cae53 100644 --- a/setup.py +++ b/setup.py @@ -1,8 +1,7 @@ -#!/usr/bin/env python +#!/usr/bin/env python3 from setuptools import setup setup( - setup_requires=['pbr>=2.0'], pbr=True, )