Commit bf4eeabd authored by Michal Čihař's avatar Michal Čihař

Initial distutils/pip support

The file list is probably incomplete, but this is a good starting point
so that people can report problems.
Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent 5f989ca4
...@@ -14,3 +14,5 @@ weblate-*.tar.* ...@@ -14,3 +14,5 @@ weblate-*.tar.*
/tags /tags
/django /django
.idea/* .idea/*
/Weblate.egg-info/
/build/
include COPYING
include ChangeLog
include README.md
recursive-include weblate/accounts *.py
recursive-include weblate/lang *.py
recursive-include weblate/trans *.py
include weblate/*.py
recursive-include weblate/ttf *
recursive-include weblate/media *
recursive-include weblate/html *.html
recursive-include docs *.rst
recursive-include examples *
recursive-include locale *.po
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Copyright © 2012 - 2014 Michal Čihař <michal@cihar.com>
#
# 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.md')) 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.0',
packages=[
'weblate',
'weblate.accounts',
'weblate.accounts.management',
'weblate.accounts.management.commands',
'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.south_migrations',
'weblate.accounts.south_migrations',
'weblate.lang.south_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',
],
},
license='GPLv3+',
description='A web-based translation tool with tight Git integration',
long_description=README,
url='http://www.weblate.org/',
author='Michal Čihař',
author_email='michal@cihar.com',
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',
],
)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment