Skip to content

Commit 951eac1

Browse files
committed
Move jack.py to src/
1 parent 6d974bd commit 951eac1

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
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'))
2323
sys.path.insert(0, os.path.abspath('.'))
2424

2525
# Fake import to avoid actually loading CFFI and the JACK library

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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

2727
setup(
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.

0 commit comments

Comments
 (0)