diff options
author | Melody Horn <melody@boringcactus.com> | 2021-01-29 01:10:56 -0700 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-01-29 01:10:56 -0700 |
commit | 326cbf53a2cfa1c115523b9eb4837f629011a1f7 (patch) | |
tree | 58531cc0f849d4e146b71130734775b2af0c6041 | |
parent | c81da475babdda24000488da62b33048d3239947 (diff) | |
download | vidslice-326cbf53a2cfa1c115523b9eb4837f629011a1f7.tar.gz vidslice-326cbf53a2cfa1c115523b9eb4837f629011a1f7.zip |
pull code out into a python module
-rw-r--r-- | setup.py | 33 | ||||
-rw-r--r-- | vidslice/__init__.py | 0 | ||||
-rw-r--r-- | vidslice/__main__.py (renamed from vidslice.py) | 0 | ||||
-rw-r--r-- | vidslice/options.py (renamed from options.py) | 0 | ||||
-rw-r--r-- | vidslice/output.py (renamed from output.py) | 0 | ||||
-rw-r--r-- | vidslice/preview.py (renamed from preview.py) | 0 | ||||
-rw-r--r-- | vidslice/sources.py (renamed from sources.py) | 0 |
7 files changed, 0 insertions, 33 deletions
diff --git a/setup.py b/setup.py deleted file mode 100644 index 92300c8..0000000 --- a/setup.py +++ /dev/null @@ -1,33 +0,0 @@ -import os -import sys - -from cx_Freeze import setup, Executable - -from vidslice import VERSION - -# Dependencies are automatically detected, but it might need -# fine tuning. -buildOptions = dict(packages=[], excludes=[]) - -PYTHON_INSTALL_DIR = os.path.dirname(os.path.dirname(os.__file__)) -if sys.platform == "win32": - dlls_folder = os.path.join(PYTHON_INSTALL_DIR, 'DLLs') - targets = ['libcrypto', 'libssl'] - include_files = [] - for dll in os.listdir(dlls_folder): - for target in targets: - if target.startswith(target): - include_files.append(os.path.join(dlls_folder, dll)) - buildOptions['include_files'] = include_files - -base = 'Win32GUI' if sys.platform == 'win32' else None - -executables = [ - Executable('vidslice.py', base=base) -] - -setup(name='vidslice', - version=VERSION, - description='', - options=dict(build_exe=buildOptions), - executables=executables) diff --git a/vidslice/__init__.py b/vidslice/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/vidslice/__init__.py diff --git a/vidslice.py b/vidslice/__main__.py index eca036c..eca036c 100644 --- a/vidslice.py +++ b/vidslice/__main__.py diff --git a/options.py b/vidslice/options.py index 016fbda..016fbda 100644 --- a/options.py +++ b/vidslice/options.py diff --git a/output.py b/vidslice/output.py index f39cdc4..f39cdc4 100644 --- a/output.py +++ b/vidslice/output.py diff --git a/preview.py b/vidslice/preview.py index f22c6ba..f22c6ba 100644 --- a/preview.py +++ b/vidslice/preview.py diff --git a/sources.py b/vidslice/sources.py index 180e51c..180e51c 100644 --- a/sources.py +++ b/vidslice/sources.py |