File tree 4 files changed +4
-9
lines changed
4 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 42
42
43
43
autosummary_generate = True
44
44
45
- breathe_projects = { "python_cpp_example" : "_build/doxygenxml/" }
45
+ breathe_projects = {"python_cpp_example" : "_build/doxygenxml/" }
46
46
breathe_default_project = "python_cpp_example"
47
47
breathe_domain_by_extension = {'hpp' : 'cpp' }
48
48
@@ -183,6 +183,3 @@ def generate_doxygen_xml(app):
183
183
def setup (app ):
184
184
"""Add hook for building doxygen xml when needed"""
185
185
app .connect ("builder-inited" , generate_doxygen_xml )
186
-
187
-
188
-
Original file line number Diff line number Diff line change 3
3
import os
4
4
import re
5
5
import sys
6
- import sysconfig
7
6
import platform
8
7
import subprocess
9
8
10
9
from distutils .version import LooseVersion
11
10
from setuptools import setup , Extension , find_packages
12
11
from setuptools .command .build_ext import build_ext
13
- from setuptools .command .test import test as TestCommand
14
12
from shutil import copyfile , copymode
15
13
16
14
@@ -100,7 +98,7 @@ def copy_test_file(self, src_file):
100
98
description = 'A hybrid Python/C++ test project' ,
101
99
long_description = '' ,
102
100
packages = find_packages ('src' ),
103
- package_dir = {'' :'src' },
101
+ package_dir = {'' : 'src' },
104
102
ext_modules = [CMakeExtension ('python_cpp_example/python_cpp_example' )],
105
103
cmdclass = dict (build_ext = CMakeBuild ),
106
104
test_suite = 'tests' ,
Original file line number Diff line number Diff line change 1
1
2
2
def say_hello ():
3
- print ("Hello world!" )
3
+ print ("Hello world!" )
Original file line number Diff line number Diff line change @@ -9,4 +9,4 @@ def test_subtract(self):
9
9
self .assertEqual (python_cpp_example .subtract (1 , 1 ), 0 )
10
10
11
11
if __name__ == '__main__' :
12
- unittest .main ()
12
+ unittest .main ()
You can’t perform that action at this time.
0 commit comments