Skip to content

Commit 4a88a45

Browse files
committed
Revert "fix: read pyproject setup from setup.py"
This reverts commit 197a31a.
1 parent 197a31a commit 4a88a45

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

setup.py

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
from pathlib import Path
3333

3434
from pybind11.setup_helpers import Pybind11Extension, build_ext
35-
from setuptools import find_packages, setup
35+
from setuptools import setup
3636

3737
try:
3838
import tomllib
@@ -104,15 +104,6 @@ def find_sources(path):
104104

105105
setup(
106106
name=package_name,
107-
version=pyproject["project"]["version"],
108-
description=pyproject["project"]["description"],
109-
url=pyproject["project"]["urls"]["Homepage"],
110-
author_email=pyproject["project"]["authors"][0]["email"],
111-
packages=find_packages(exclude=("tests",)),
112-
python_requires=pyproject["project"]["requires-python"],
113-
install_requires=pyproject["project"]["dependencies"],
114-
license=pyproject["project"]["license"],
115-
classifiers=pyproject["project"]["classifiers"],
116107
ext_modules=get_extensions(),
117108
cmdclass={"build_ext": build_ext},
118109
)

0 commit comments

Comments
 (0)