#!/usr/bin/env python3 from distutils.core import setup import os version = "0.2-SNAPSHOT" url = "https://www.xapek.org/git/yvesf/andiodine/archive/v{}.tar.gz" package_data = [os.path.join(os.path.relpath(root, "movietool"), file) for root, folders, files in list(os.walk("movietool/html")) + list(os.walk("movietool/libs")) for file in files] setup( name="movietool", version=version, author="xapek.org", author_email="info@xapek.org", packages=["movietool"], package_data={"movietool": package_data}, scripts=["bin/movietool"], url="https://www.xapek.org/git/xapek/movietool", download_url=url.format(version), description="Tools for managing movies on the commandline", long_description=open("README.md").read(), install_requires=[ "guessit", "requests", "tmdbsimple", "Pillow" ], )