-
Notifications
You must be signed in to change notification settings - Fork 17
/
setup.py
44 lines (38 loc) · 1.26 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
from codecs import open
from os import path
from setuptools import find_packages, setup
here = path.abspath(path.dirname(__file__))
# Get the long description from the relevant file
try:
with open(path.join(here, 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
except:
long_description = ''
try:
from i18nfield import version
except ImportError:
version = '?'
setup(
name='django-i18nfield',
version=version,
description='Store internationalized strings in Django models',
long_description=long_description,
url='https://github.com/raphaelm/django-i18nfield',
author='Raphael Michel',
author_email='[email protected]',
license='Apache License 2.0',
classifiers=[
'Intended Audience :: Developers',
'Intended Audience :: Other Audience',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Framework :: Django :: 1.10'
],
keywords='i18n strings database models',
install_requires=[
],
packages=find_packages(exclude=['tests', 'tests.*', 'demoproject', 'demoproject.*']),
include_package_data=True,
)