2009-02-22 22:56:53 +00:00
|
|
|
#!/usr/bin/env python
|
2021-01-16 10:54:14 +00:00
|
|
|
from setuptools import setup
|
2009-02-22 22:56:53 +00:00
|
|
|
|
2012-11-02 11:59:46 +00:00
|
|
|
# Dynamically calculate the version based on modeltranslation.VERSION.
|
2012-11-15 23:33:32 +00:00
|
|
|
version = __import__('modeltranslation').get_version()
|
2012-11-02 11:59:46 +00:00
|
|
|
|
2012-10-24 10:21:48 +00:00
|
|
|
|
|
|
|
|
setup(
|
|
|
|
|
name='django-modeltranslation',
|
2012-11-02 11:59:46 +00:00
|
|
|
version=version,
|
2012-10-24 10:21:48 +00:00
|
|
|
description='Translates Django models using a registration approach.',
|
|
|
|
|
long_description=(
|
|
|
|
|
'The modeltranslation application can be used to translate dynamic '
|
|
|
|
|
'content of existing models to an arbitrary number of languages '
|
|
|
|
|
'without having to change the original model classes. It uses a '
|
|
|
|
|
'registration approach (comparable to Django\'s admin app) to be able '
|
|
|
|
|
'to add translations to existing or new projects and is fully '
|
2021-01-16 10:39:31 +00:00
|
|
|
'integrated into the Django admin backend.'
|
|
|
|
|
),
|
2012-10-24 10:21:48 +00:00
|
|
|
author='Peter Eschler',
|
|
|
|
|
author_email='peschler@gmail.com',
|
|
|
|
|
maintainer='Dirk Eschler',
|
|
|
|
|
maintainer_email='eschler@gmail.com',
|
|
|
|
|
url='https://github.com/deschler/django-modeltranslation',
|
2021-01-16 10:39:31 +00:00
|
|
|
packages=[
|
|
|
|
|
'modeltranslation',
|
|
|
|
|
'modeltranslation.management',
|
|
|
|
|
'modeltranslation.management.commands',
|
|
|
|
|
],
|
|
|
|
|
package_data={
|
|
|
|
|
'modeltranslation': [
|
|
|
|
|
'static/modeltranslation/css/*.css',
|
|
|
|
|
'static/modeltranslation/js/*.js',
|
|
|
|
|
]
|
|
|
|
|
},
|
2020-03-19 20:19:57 +00:00
|
|
|
install_requires=['Django>=2.2', 'six'],
|
2021-01-16 10:39:31 +00:00
|
|
|
download_url=(
|
|
|
|
|
'https://github.com/deschler/django-modeltranslation/archive/%s.tar.gz'
|
|
|
|
|
% version
|
|
|
|
|
),
|
2012-10-24 10:21:48 +00:00
|
|
|
classifiers=[
|
|
|
|
|
'Programming Language :: Python',
|
2017-04-13 08:42:54 +00:00
|
|
|
'Programming Language :: Python :: 3.6',
|
2019-02-11 21:22:08 +00:00
|
|
|
'Programming Language :: Python :: 3.7',
|
2020-03-19 20:17:09 +00:00
|
|
|
'Programming Language :: Python :: 3.8',
|
2012-10-24 10:21:48 +00:00
|
|
|
'Operating System :: OS Independent',
|
|
|
|
|
'Environment :: Web Environment',
|
|
|
|
|
'Intended Audience :: Developers',
|
|
|
|
|
'Framework :: Django',
|
2021-01-16 10:39:31 +00:00
|
|
|
'License :: OSI Approved :: BSD License',
|
|
|
|
|
],
|
|
|
|
|
license='New BSD',
|
|
|
|
|
)
|