| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,13 +1,12 @@ | |||
| 1 | 1 | #!/usr/bin/env python | |
| 2 | - from __future__ import print_function | ||
| 3 | 2 | try: | |
| 4 | 3 | from setuptools import setup, find_packages | |
| 5 | 4 | except ImportError: | |
| 6 | - from ez_setup import use_setuptools | ||
| 5 | + from ez_setup import use_setuptools # type: ignore[Pylance] | ||
| 7 | 6 | use_setuptools() | |
| 8 | 7 | from setuptools import setup, find_packages | |
| 9 | 8 | ||
| 10 | - from distutils.command.build_py import build_py as _build_py | ||
| 9 | + from setuptools.command.build_py import build_py as _build_py | ||
| 11 | 10 | from setuptools.command.sdist import sdist as _sdist | |
| 12 | 11 | import fnmatch | |
| 13 | 12 | import os | |
@@ -95,7 +94,6 @@ def build_py_modules(basedir, excludes=[]): | |||
| 95 | 94 | license="BSD", | |
| 96 | 95 | url="https://github.com/gitpython-developers/GitPython", | |
| 97 | 96 | packages=find_packages(exclude=("test.*")), | |
| 98 | - # package_data={'git': ['**/*.pyi', 'py.typed']}, | ||
| 99 | 97 | include_package_data=True, | |
| 100 | 98 | py_modules=build_py_modules("./git", excludes=["git.ext.*"]), | |
| 101 | 99 | package_dir={'git': 'git'}, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments