forked from guessit-io/guessit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
73 lines (61 loc) · 2.79 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
62
63
64
65
66
67
68
69
70
71
72
73
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# GuessIt - A library for guessing information from filenames
# Copyright (c) 2011 Nicolas Wack <[email protected]>
#
# GuessIt is free software; you can redistribute it and/or modify it under
# the terms of the Lesser GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# GuessIt is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# Lesser GNU General Public License for more details.
#
# You should have received a copy of the Lesser GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
from setuptools import setup
import os
import guessit
here = os.path.abspath(os.path.dirname(__file__))
README = open(os.path.join(here, 'README.rst')).read()
NEWS = open(os.path.join(here, 'NEWS.rst')).read()
requires = []
entry_points = {
'console_scripts' : [
'guessit = guessit.__main__:main'
]
}
args = dict(name = 'guessit',
version = guessit.__version__,
description = 'GuessIt - a library for guessing information from video files.',
long_description = README + '\n\n' + NEWS,
# Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers = [ 'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
'Operating System :: OS Independent',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Topic :: Multimedia',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords = 'smewt media video metadata python library',
author = 'Nicolas Wack',
author_email = '[email protected]',
url = 'http://guessit.readthedocs.org/',
license = 'LGPLv3',
packages = [ 'guessit', 'guessit.transfo', 'guessit.test' ],
include_package_data=True,
install_requires = requires,
entry_points=entry_points,
extras_require = { 'language_detection': ['guess-language>=0.2'] },
test_suite = 'guessit.test'
)
setup(**args)