~boringcactus/vidslice

326cbf53a2cfa1c115523b9eb4837f629011a1f7 — Melody Horn 1 year, 8 months ago c81da47
pull code out into a python module
7 files changed, 0 insertions(+), 33 deletions(-)

D setup.py
A vidslice/__init__.py
R vidslice.py => vidslice/__main__.py
R options.py => vidslice/options.py
R output.py => vidslice/output.py
R preview.py => vidslice/preview.py
R sources.py => vidslice/sources.py
D setup.py => setup.py +0 -33
@@ 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)

A vidslice/__init__.py => vidslice/__init__.py +0 -0
R vidslice.py => vidslice/__main__.py +0 -0
R options.py => vidslice/options.py +0 -0
R output.py => vidslice/output.py +0 -0
R preview.py => vidslice/preview.py +0 -0
R sources.py => vidslice/sources.py +0 -0