File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 3232from pathlib import Path
3333
3434from pybind11 .setup_helpers import Pybind11Extension , build_ext
35- from setuptools import setup
35+ from setuptools import find_packages , setup
3636
3737try :
3838 import tomllib
@@ -104,6 +104,15 @@ def find_sources(path):
104104
105105setup (
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" ],
107116 ext_modules = get_extensions (),
108117 cmdclass = {"build_ext" : build_ext },
109118)
You can’t perform that action at this time.
0 commit comments