diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2015-03-28 18:21:56 +0100 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2015-03-28 18:21:56 +0100 |
commit | 76f2e9ffd369e1b2f131c85fa05540c62936ac21 (patch) | |
tree | b2980f38ecedc94ebdb7fc52e3a2966281616d58 /setup.py | |
download | movietool-76f2e9ffd369e1b2f131c85fa05540c62936ac21.tar.gz movietool-76f2e9ffd369e1b2f131c85fa05540c62936ac21.zip |
re-structure project
Diffstat (limited to 'setup.py')
-rwxr-xr-x | setup.py | 32 |
1 files changed, 32 insertions, 0 deletions
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" + ], +) |