File tree Expand file tree Collapse file tree 4 files changed +3
-6
lines changed Expand file tree Collapse file tree 4 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1+ _sounddevice.py
12* .pyc
23__pycache__ /
34build /
Original file line number Diff line number Diff line change 1919# If extensions (or modules to document with autodoc) are in another directory,
2020# add these directories to sys.path here. If the directory is relative to the
2121# documentation root, use os.path.abspath to make it absolute, like shown here.
22- sys .path .insert (0 , os .path .abspath ('../src ' ))
22+ sys .path .insert (0 , os .path .abspath ('..' ))
2323sys .path .insert (0 , os .path .abspath ('.' ))
2424
2525# Fake import to avoid actually loading CFFI and the PortAudio library
Original file line number Diff line number Diff line change 22import platform
33from setuptools import setup
44
5- package_dir = {'' : 'src' }
6-
75# "import" __version__
86__version__ = 'unknown'
9- for line in open (os . path . join ( 'src' , ' sounddevice.py') ):
7+ for line in open (' sounddevice.py' ):
108 if line .startswith ('__version__' ):
119 exec (line )
1210 break
3735 packages = ['_sounddevice_data' ]
3836 package_data = {'_sounddevice_data' : ['portaudio-binaries/' + libname ,
3937 'portaudio-binaries/README.md' ]}
40- package_dir ['_sounddevice_data' ] = '_sounddevice_data'
4138 zip_safe = False
4239else :
4340 packages = None
@@ -70,7 +67,6 @@ def get_tag(self):
7067setup (
7168 name = 'sounddevice' ,
7269 version = __version__ ,
73- package_dir = package_dir ,
7470 py_modules = ['sounddevice' ],
7571 packages = packages ,
7672 package_data = package_data ,
File renamed without changes.
You can’t perform that action at this time.
0 commit comments