From 76f2e9ffd369e1b2f131c85fa05540c62936ac21 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sat, 28 Mar 2015 18:21:56 +0100 Subject: re-structure project --- setup.py | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100755 setup.py (limited to 'setup.py') diff --git a/setup.py b/setup.py new file mode 100755 index 0000000..2db494f --- /dev/null +++ b/setup.py @@ -0,0 +1,32 @@ +#!/usr/bin/env python3 +from distutils.core import setup +import os + + +version = "0.1" +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" + ], +) -- cgit v1.2.1