Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
rjdbcm committed Nov 14, 2021
1 parent e3e855d commit a0265f9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,11 @@
module_paths = [str(Path('Aspidites/_vendor/contracts/useful_contracts/numpy_specific.py')),]
except ModuleNotFoundError:
def get_include():
return sysconfig.get_config_vars()['CONFINCLUDEPY']
try:
return sysconfig.get_config_vars()['CONFINCLUDEPY']
except KeyError:
return ''

module_paths = [str(Path('Aspidites/_vendor/contracts/metaclass.py')),
str(Path('Aspidites/_vendor/contracts/interface.py')),
str(Path('Aspidites/_vendor/contracts/syntax.py')),
Expand Down

0 comments on commit a0265f9

Please sign in to comment.