File tree Expand file tree Collapse file tree 4 files changed +4
-9
lines changed
Expand file tree Collapse file tree 4 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 4242
4343autosummary_generate = True
4444
45- breathe_projects = { "python_cpp_example" : "_build/doxygenxml/" }
45+ breathe_projects = {"python_cpp_example" : "_build/doxygenxml/" }
4646breathe_default_project = "python_cpp_example"
4747breathe_domain_by_extension = {'hpp' : 'cpp' }
4848
@@ -183,6 +183,3 @@ def generate_doxygen_xml(app):
183183def setup (app ):
184184 """Add hook for building doxygen xml when needed"""
185185 app .connect ("builder-inited" , generate_doxygen_xml )
186-
187-
188-
Original file line number Diff line number Diff line change 33import os
44import re
55import sys
6- import sysconfig
76import platform
87import subprocess
98
109from distutils .version import LooseVersion
1110from setuptools import setup , Extension , find_packages
1211from setuptools .command .build_ext import build_ext
13- from setuptools .command .test import test as TestCommand
1412from shutil import copyfile , copymode
1513
1614
@@ -100,7 +98,7 @@ def copy_test_file(self, src_file):
10098 description = 'A hybrid Python/C++ test project' ,
10199 long_description = '' ,
102100 packages = find_packages ('src' ),
103- package_dir = {'' :'src' },
101+ package_dir = {'' : 'src' },
104102 ext_modules = [CMakeExtension ('python_cpp_example/python_cpp_example' )],
105103 cmdclass = dict (build_ext = CMakeBuild ),
106104 test_suite = 'tests' ,
Original file line number Diff line number Diff line change 11
22def 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):
99 self .assertEqual (python_cpp_example .subtract (1 , 1 ), 0 )
1010
1111if __name__ == '__main__' :
12- unittest .main ()
12+ unittest .main ()
You can’t perform that action at this time.
0 commit comments