This repository has been archived by the owner on Feb 3, 2020. It is now read-only.
/
setup.py
52 lines (47 loc) · 1.91 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
#!/usr/bin/env python
#
# Copyright (c) 2010 Rob Charlwood
# Licensed under the terms of the MIT License (see LICENSE.txt)
from setuptools import setup
# grab package metadata
app_name = __import__('mothertongue').get_appname()
version = __import__('mothertongue').get_version(limit=3)
copyright = __import__('mothertongue').get_copyright()
author = __import__('mothertongue').get_author()
long_description = open('docs/index.rst').read().split('split here', 1)[0] + """
See the `full documentation`_.
.. _`full documentation`: http://packages.python.org/django-mothertongue/
"""
setup(
name = "django-%s" % app_name,
version = version,
packages = ['mothertongue', 'mothertongue.tests'],
install_requires = [
"django >= 1.1.1",
"django-localeurl >= 1.4"
],
author = author,
author_email = "robcharlwood@gmail.com",
maintainer = "Rob Charlwood",
maintainer_email = "robcharlwood@gmail.com",
description = "A light-weight translation application designed to simplify the process of creating multi-lingual websites and serving appropriate content.",
long_description = long_description,
license = "MIT License",
keywords = "django i18n model translation",
classifiers = [
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Natural Language :: English',
'Programming Language :: Python',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Localization',
],
url = "https://github.com/robcharlwood/django-mothertongue",
test_suite = 'mothertongue.tests.runtests.runtests',
zip_safe=False,
)