-
Notifications
You must be signed in to change notification settings - Fork 692
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8041fc2
commit d87ac75
Showing
7 changed files
with
96 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
import os | ||
import sysconfig | ||
|
||
def get_includes(): | ||
try: | ||
from distutils import sysconfig as legacy | ||
except ImportError: | ||
legacy = None | ||
|
||
yield sysconfig.get_path('include') | ||
yield sysconfig.get_path('platinclude') | ||
if legacy: | ||
yield legacy.get_python_inc() | ||
yield legacy.get_python_inc(plat_specific=True) | ||
|
||
NAME = 'asyncio' | ||
|
||
CFLAGS = [ | ||
'-I' + sysconfig.get_path('include'), | ||
'-I' + sysconfig.get_path('platinclude') | ||
] | ||
CFLAGS = ['-I' + i for i in filter(os.path.exists, get_includes())] | ||
LDFLAGS = [] | ||
LIBS = [] | ||
GCC_LIST = ['asyncio'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters