forked from dbr/tvnamer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
61 lines (46 loc) · 1.29 KB
/
setup.py
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
"""Setup tools for tvnamer,
"""
import os
import sys
# Ensure dir containing script is on PYTHONPATH
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from tvnamer import __version__
needed_pkgs = []
try:
import json
except ImportError:
needed_pkgs.append('simplejson')
needed_pkgs.append("tvdb_api>=1.5")
from setuptools import setup
setup(
name = 'tvnamer',
version=".".join(str(x) for x in __version__),
author='dbr/Ben',
description='Automatic TV episode namer',
url='http://github.com/dbr/tvnamer',
license='unlicense',
long_description="""\
Automatically names downloaded/recorded TV-episodes, by parsing filenames and
retrieving show-names from www.thetvdb.com
Now deals with files containing multiple: show.name.s01e01e02.avi, anime
files: [SomeGroup] Show Name - 102 [A1B2C3].mkv and better handles files
containing unicode characters.
""",
packages = ['tvnamer'],
entry_points = {
'console_scripts': [
'tvnamer = tvnamer.main:main',
],
},
install_requires = needed_pkgs,
classifiers=[
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
# "License :: Unlicense",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Multimedia",
"Topic :: Utilities",
],
)