File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -618,11 +618,7 @@ def run(self):
618
618
if setupdir :
619
619
os .chdir (setupdir )
620
620
621
- setup_requires = []
622
- if not os .path .exists (_get_interop_filename ()):
623
- setup_requires .append ("pycparser" )
624
-
625
- cmdclass = {
621
+ Macmdclass = {
626
622
"install" : InstallPythonnet ,
627
623
"build_ext" : BuildExtPythonnet ,
628
624
"install_lib" : InstallLibPythonnet ,
@@ -639,7 +635,7 @@ def run(self):
639
635
license = "MIT" ,
640
636
author = "The Python for .Net developers" ,
641
637
642
- setup_requires = setup_requires ,
638
+ setup_requires = [ "pycparser" ] ,
643
639
long_description = _get_long_description (),
644
640
ext_modules = [Extension ("clr" , sources = list (_get_source_files ()))],
645
641
data_files = [("{install_platlib}" , ["{build_lib}/Python.Runtime.dll" ])],
You can’t perform that action at this time.
0 commit comments