There was an error while loading. Please reload this page.
2 parents 02b4fff + fb21782 commit 0c1446dCopy full SHA for 0c1446d
2 files changed
pyproject.toml
@@ -1,3 +1,7 @@
1
+[build-system]
2
+requires = ["setuptools", "wheel"]
3
+build-backend = "setuptools.build_meta"
4
+
5
[tool.pytest.ini_options]
6
python_files = 'test_*.py'
7
testpaths = 'test' # space seperated list of paths from root e.g test tests doc/testing
setup.py
@@ -1,11 +1,4 @@
-#!/usr/bin/env python
-try:
- from setuptools import setup, find_packages
-except ImportError:
- from ez_setup import use_setuptools # type: ignore[Pylance]
- use_setuptools()
8
-
+from setuptools import setup, find_packages
9
from setuptools.command.build_py import build_py as _build_py
10
from setuptools.command.sdist import sdist as _sdist
11
import fnmatch
@@ -93,8 +86,7 @@ def build_py_modules(basedir, excludes=()):
93
86
author_email="byronimo@gmail.com, mtrier@gmail.com",
94
87
license="BSD",
95
88
url="https://github.com/gitpython-developers/GitPython",
96
- packages=find_packages(exclude=("test.*")),
97
- package_data={'git': ['**/*.pyi', 'py.typed']},
89
+ packages=find_packages(exclude=["test", "test.*"]),
98
90
include_package_data=True,
99
91
py_modules=build_py_modules("./git", excludes=["git.ext.*"]),
100
92
package_dir={'git': 'git'},
0 commit comments