File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed 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 ('..' ))
22+ sys .path .insert (0 , os .path .abspath ('../src ' ))
2323sys .path .insert (0 , os .path .abspath ('.' ))
2424
2525# Fake import to avoid actually loading CFFI and the JACK library
Original file line number Diff line number Diff line change @@ -19,14 +19,15 @@ def run_tests(self):
1919__version__ = 'unknown'
2020
2121# "import" __version__
22- for line in open ('jack.py' ):
22+ for line in open ('src/ jack.py' ):
2323 if line .startswith ('__version__' ):
2424 exec (line )
2525 break
2626
2727setup (
2828 name = 'JACK-Client' ,
2929 version = __version__ ,
30+ package_dir = {'' : 'src' },
3031 py_modules = ['jack' ],
3132 install_requires = ['CFFI' ],
3233 extras_require = {'NumPy' : ['NumPy' ]},
@@ -36,7 +37,7 @@ def run_tests(self):
3637 long_description = open ('README.rst' ).read (),
3738 license = 'MIT' ,
3839 keywords = 'JACK audio low-latency multi-channel' .split (),
39- url = 'http://jackclient-python.rtfd.org /' ,
40+ url = 'http://jackclient-python.readthedocs.io /' ,
4041 platforms = 'any' ,
4142 classifiers = [
4243 'License :: OSI Approved :: MIT License' ,
File renamed without changes.
You can’t perform that action at this time.
0 commit comments