Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit af80a64

Browse filesBrowse files
committed
ENH: make staticbuild configurable via setup.cfg
1 parent c733e40 commit af80a64
Copy full SHA for af80a64

File tree

Expand file treeCollapse file tree

2 files changed

+8
-0
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+8
-0
lines changed

‎setup.cfg.template

Copy file name to clipboardExpand all lines: setup.cfg.template
+5Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,8 @@
6161
# modules. The default is determined by fallback.
6262
#
6363
#backend = Agg
64+
65+
[build]
66+
# Build options
67+
# If we should try to use static libraries on Windows
68+
#staticbuild = True

‎setupext.py

Copy file name to clipboardExpand all lines: setupext.py
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,9 @@ def write_cache(local_fn, data):
165165

166166
if config.has_option('test', 'local_freetype'):
167167
options['local_freetype'] = config.getboolean("test", "local_freetype")
168+
169+
if config.has_option('build', 'staticbuild'):
170+
options['staticbuild'] = config.getboolean("build", "staticbuild")
168171
else:
169172
config = None
170173

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.