-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
74 lines (67 loc) · 1.98 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
74
import os
from setuptools import find_packages
from setuptools import setup
version = '0.7dev'
here = os.path.abspath(os.path.dirname(__file__))
try:
README = open(os.path.join(here, 'README.rst')).read()
except IOError:
README = ''
try:
TODO = open(os.path.join(here, 'TODO.txt')).read()
except IOError:
TODO = ''
try:
AUTHORS = open(os.path.join(here, 'AUTHORS.txt')).read()
except IOError:
AUTHORS = ''
try:
CHANGES = open(os.path.join(here, 'CHANGES.txt')).read()
except IOError:
CHANGES = ''
install_requires = [
'Kotti>=0.10b1',
'js.jquery_form',
'js.mediaelement',
]
long_description = README + '\n\n' + TODO + '\n\n' + AUTHORS + '\n\n' + CHANGES
setup(
name='kotti_media',
version=version,
description='Add media content to your Kotti site',
long_description=long_description,
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Framework :: Pylons',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Internet :: WWW/HTTP :: WSGI :: Application',
'License :: Repoze Public License',
],
keywords='video audio medialementjs kotti cms pylons pyramid',
author='Andreas Kaiser',
author_email='disko@binary-punks.com',
url='https://github.com/Kotti/kotti_media',
license='BSD-derived (http://www.repoze.org/LICENSE.txt)',
packages=find_packages(exclude=[
'ez_setup',
'examples',
'tests'
]),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
extras_require={},
message_extractors={
'kotti_media': [
('**.py', 'lingua_python', None),
('**.zcml', 'lingua_xml', None),
('**.pt', 'lingua_xml', None),
],
},
entry_points={
"fanstatic.libraries": ["kotti_media = kotti_media.fanstatic:library"],
}
)