summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py32
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"
+ ],
+)