Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2d8631b

Browse files
authored
Make pycparser an unconditional requirement for now
1 parent 7929e01 commit 2d8631b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

setup.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -618,11 +618,7 @@ def run(self):
618618
if setupdir:
619619
os.chdir(setupdir)
620620

621-
setup_requires = []
622-
if not os.path.exists(_get_interop_filename()):
623-
setup_requires.append("pycparser")
624-
625-
cmdclass={
621+
Macmdclass={
626622
"install": InstallPythonnet,
627623
"build_ext": BuildExtPythonnet,
628624
"install_lib": InstallLibPythonnet,
@@ -639,7 +635,7 @@ def run(self):
639635
license="MIT",
640636
author="The Python for .Net developers",
641637
author_email="[email protected]",
642-
setup_requires=setup_requires,
638+
setup_requires=["pycparser"],
643639
long_description=_get_long_description(),
644640
ext_modules=[Extension("clr", sources=list(_get_source_files()))],
645641
data_files=[("{install_platlib}", ["{build_lib}/Python.Runtime.dll"])],

0 commit comments

Comments
 (0)