-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathsetup.py
42 lines (37 loc) · 1.34 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
"""Translate Django model data using gettext"""
import io
from setuptools import setup, find_packages
LONG_DESCRIPTION_FILES = ('README.rst', 'CHANGELOG.rst')
def yield_long_description_files():
for description_file in LONG_DESCRIPTION_FILES:
with io.open(description_file, 'r', encoding='utf-8') as f:
yield f.read()
setup(
name="django-vinaigrette",
version="2.0.1",
packages=find_packages(),
description=__doc__,
long_description='\n\n'.join(yield_long_description_files()),
author="Ecometrica Ltd",
author_email="[email protected]",
maintainer="Ecometrica Ltd",
maintainer_email="[email protected]",
url="https://github.com/ecometrica/django-vinaigrette/",
keywords=[
"django", "translation", "gettext",
"internationalization", "i18n", "database", "model"
],
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Development Status :: 4 - Beta",
"License :: OSI Approved :: BSD License",
"Operating System :: POSIX",
"Topic :: Software Development :: Internationalization",
"Framework :: Django",
"Framework :: Django :: 1.11",
"Framework :: Django :: 2.0",
"Framework :: Django :: 2.1",
],
)