-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make ld-decode into a Python package.
The modules are now all in an "lddecode" package. The scripts that are useful for end-users will be installed. I've done this with distutils.core rather than setuptools because it doesn't need any of the extra stuff setuptools provides, and distutils.core is usefully less picky about where it installs to. I've also trimmed some imports that aren't being used.
- Loading branch information
Showing
16 changed files
with
63 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/python3 | ||
# Initialisation for the lddecode package. | ||
|
||
__all__ = [ | ||
'commpy_filters', | ||
'core', | ||
'efm_pll', | ||
'fdls', | ||
'fft8', | ||
'plot_utils', | ||
'utils', | ||
] |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0
efm_pll.py → lddecode/efm_pll.py
100755 → 100644
File renamed without changes.
File renamed without changes.
0
fft8.py → lddecode/fft8.py
100755 → 100644
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/usr/bin/python3 | ||
|
||
from distutils.core import setup | ||
|
||
setup( | ||
name='ld-decode', | ||
version='7', | ||
|
||
description='Software defined LaserDisc decoder', | ||
url='https://github.com/happycube/ld-decode', | ||
keywords=['video', 'LaserDisc'], | ||
classifiers=[ | ||
'Environment :: Console', | ||
'Environment :: X11 Applications :: Qt', | ||
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)', | ||
'Programming Language :: C++', | ||
'Programming Language :: Python :: 3', | ||
'Topic :: Multimedia :: Video :: Capture', | ||
], | ||
|
||
packages=['lddecode'], | ||
scripts=[ | ||
'cx-expander', | ||
'ld-cut', | ||
'ld-decode', | ||
'scripts/ld-compress', | ||
], | ||
|
||
# These are just the minimal runtime dependencies for the Python scripts -- | ||
# see the documentation for the full list of dependencies. | ||
provides=['lddecode'], | ||
requires=[ | ||
'numba', | ||
'numpy', | ||
'scipy', | ||
], | ||
) |