-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
54 lines (48 loc) · 1.79 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
53
54
import os
from setuptools import setup, find_packages
def read(fname):
path = os.path.join(os.path.dirname(__file__), fname)
try:
file = open(path, encoding='utf-8')
except TypeError:
file = open(path)
return file.read()
def get_install_requires():
install_requires = ['Django']
return install_requires
setup(
name='django-translatable-fields',
version=__import__('translatable_fields').VERSION,
description='Translatable model fields for Django with admin integration',
long_description=read('README.rst'),
author='Denis Kildishev',
author_email='[email protected]',
url='https://github.com/geex-arts/django-translatable-fields',
packages=find_packages(),
license='MIT',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'License :: Free for non-commercial use',
'License :: OSI Approved :: MIT License',
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Environment :: Web Environment',
'Topic :: Software Development',
'Topic :: Software Development :: User Interfaces',
],
zip_safe=False,
include_package_data=True,
install_requires=get_install_requires()
)