summaryrefslogtreecommitdiff
path: root/setup.py
blob: 2db494f18cac9dee4079378982670faebe6ee637 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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"
    ],
)