forked from WeblateOrg/weblate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·106 lines (102 loc) · 3.41 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright © 2012 - 2015 Michal Čihař <[email protected]>
#
# This file is part of Weblate <http://weblate.org/>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program 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
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
import os
from setuptools import setup
with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
README = readme.read()
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='Weblate',
version='2.3',
packages=[
'weblate',
'weblate.accounts',
'weblate.accounts.management',
'weblate.accounts.management.commands',
'weblate.accounts.templatetags',
'weblate.lang',
'weblate.lang.management',
'weblate.lang.management.commands',
'weblate.trans',
'weblate.trans.autofixes',
'weblate.trans.checks',
'weblate.trans.models',
'weblate.trans.views',
'weblate.trans.tests',
'weblate.trans.machine',
'weblate.trans.management',
'weblate.trans.management.commands',
'weblate.trans.templatetags',
'weblate.trans.migrations',
'weblate.accounts.migrations',
'weblate.lang.migrations',
],
package_data={
'weblate': [
'html/*.html',
'html/accounts/*.html',
'html/admin/*.html',
'html/admin/trans/*.html',
'html/js/*.html',
'html/js/*.js',
'html/mail/*.html',
'html/mail/*.txt',
'ttf/*',
'media/*.js',
'media/*.ico',
'media/*.txt',
'media/*.css',
'media/*.png',
'media/*.gif',
'media/widgets/*.png',
'media/js/*.js',
'media/bootstrap/css/*.*',
'media/bootstrap/fonts/*.*',
'media/bootstrap/js/*.*',
'media/font-awesome/fonts/*.*',
'media/font-awesome/css/*.*',
'media/font-linux/*.*',
],
},
license='GPLv3+',
description=(
'A web-based translation tool with tight version control integration'
),
long_description=README,
url='http://weblate.org/',
download_url='https://github.com/nijel/weblate',
author='Michal Čihař',
author_email='[email protected]',
classifiers=[
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: '
'GNU General Public License v3 or later (GPLv3+)',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)