-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.cfg
117 lines (97 loc) · 2.69 KB
/
setup.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
[metadata]
description-file = README.md
[build_sphinx]
source-dir = sphinx
build-dir = build
all_files = 1
[upload_sphinx]
upload-dir = build/html
[timedata_flags]
benchmark_number = 100
benchmark_size = 10240
benchmarks = lists,pure_python
build_type = o3
compileropt = -ffast-math
-flto
-fno-math-errno
-fomit-frame-pointer
-funroll-loops
# -fprofile-generate
# -ftree-vectorize
# See http://ithare.com/c-performance-common-wisdoms-and-common-wisdoms/
models =
name =
annotate = False
minimum_python_version = 3.4
test_pattern=*_test.py
[timedata_dependencies]
annotate = build_ext
build_ext = generate
build_sphinx = [develop annotate]
develop = generate
documentation = build_sphinx
test = develop
copy_documentation = documentation
[timedata_build_type]
o2 = -O2 -DNDEBUG
o3 = -O3 -DNDEBUG
debug = -O0 -DDEBUG
[timedata_directories]
# A list of directories to delete in the clean phase.
build = build
# The directories containing the sphinx generated html code.
documentation = ${build}/html
# The base of all generated files, Cython and timedata.
genfiles = ${build}/genfiles
# Output directory for timedata generated files.
genfiles_project = ${genfiles}/timedata
# The address of the parallel directory containing the documentation tree.
documentation_repo = ../timedata-org.github.io
[timedata_compiler_flags]
linux = -std=c++11
-ferror-limit=100
-DCOMPILE_TIMESTAMP="$$time"
-DGIT_TAGS="$$git_tags"
-Wall
-Wextra
-Wpedantic
-Wno-unused-function
-Wno-extended-offsetof
darwin = ${linux}
-mmacosx-version-min=10.9
-Wno-tautological-constant-out-of-range-compare
windows = -DNDEBUG
-DWINDOWS
/Dand=&&
/Dnot=!
/Dnot_eq=!=
/Dor=||
/Duint=size_t
/wd4800
[timedata_linker]
libraries=[]
extra_args=[-Werror]
[timedata_setuptools]
name = timedata
packages = [src/py/timedata_tests]
version = 0.8
keywords = [color cython dsp C++]
description = High-performance arithmetic for RGB color.
author = Tom Swirly
author_email = tom@swirly.com
url = https://github.com/timedata-org/timedata
test_suite = setup.test_suite
download_url = https://github.com/timedata-org/timedata/releases/tag/v0.8
[timedata_code_generation]
struct_prefix = src/cpp
struct_files = [timedata/color/render3.h]
output_file = build/genfiles/timedata/genfiles.pyx
template_directory = src/pyx/timedata/template
html_path = src
discarded_html = [timedata.html]
[timedata_clean]
files = [timedata.html timedata.so build src/**/*.html]
[timedata_extension_arguments]
name = timedata
sources = [timedata.pyx]
include_dirs = [src/cpp]