2015-03-03 10:01:51 +01:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2012-08-05 09:30:44 +02:00
|
|
|
import codecs
|
|
|
|
import os
|
|
|
|
|
2015-07-17 20:10:16 +02:00
|
|
|
from setuptools import Command, find_packages, setup
|
2012-08-05 09:30:44 +02:00
|
|
|
|
|
|
|
|
2015-03-30 11:19:27 +02:00
|
|
|
def read(file_name):
|
|
|
|
file_path = os.path.join(os.path.dirname(__file__), file_name)
|
|
|
|
return codecs.open(file_path, encoding='utf-8').read()
|
2015-03-03 10:01:51 +01:00
|
|
|
|
2012-08-05 09:30:44 +02:00
|
|
|
|
|
|
|
PACKAGE = "django_select2"
|
|
|
|
NAME = "Django-Select2"
|
|
|
|
DESCRIPTION = "Select2 option fields for Django"
|
2015-09-25 22:11:50 +02:00
|
|
|
AUTHOR = "Nirupam Biswas, Johannes Hoppe"
|
2012-08-05 09:30:44 +02:00
|
|
|
AUTHOR_EMAIL = "admin@applegrew.com"
|
|
|
|
URL = "https://github.com/applegrew/django-select2"
|
|
|
|
VERSION = __import__(PACKAGE).__version__
|
|
|
|
|
2015-03-03 10:01:51 +01:00
|
|
|
|
2012-08-05 09:30:44 +02:00
|
|
|
setup(
|
|
|
|
name=NAME,
|
|
|
|
version=VERSION,
|
|
|
|
description=DESCRIPTION,
|
|
|
|
long_description=read("README.md"),
|
|
|
|
author=AUTHOR,
|
|
|
|
author_email=AUTHOR_EMAIL,
|
2012-08-23 21:57:32 +02:00
|
|
|
license="LICENSE.txt",
|
2012-08-05 09:30:44 +02:00
|
|
|
url=URL,
|
2015-09-29 15:12:57 +02:00
|
|
|
packages=find_packages(),
|
2012-08-05 09:30:44 +02:00
|
|
|
include_package_data=True,
|
|
|
|
classifiers=[
|
2012-08-23 21:57:32 +02:00
|
|
|
"Development Status :: 5 - Production/Stable",
|
2012-08-05 09:30:44 +02:00
|
|
|
"Environment :: Web Environment",
|
|
|
|
"Intended Audience :: Developers",
|
2013-01-13 10:50:13 +01:00
|
|
|
"License :: OSI Approved :: Apache Software License",
|
2012-08-05 09:30:44 +02:00
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Programming Language :: Python",
|
2015-09-16 11:02:44 +02:00
|
|
|
"Programming Language :: Python :: 2",
|
|
|
|
"Programming Language :: Python :: 3",
|
2012-08-05 09:30:44 +02:00
|
|
|
"Framework :: Django",
|
2015-12-02 18:57:28 +01:00
|
|
|
"Framework :: Django :: 1.8",
|
2017-04-14 11:56:52 +02:00
|
|
|
"Framework :: Django :: 1.10",
|
|
|
|
"Framework :: Django :: 1.11",
|
2012-08-05 09:30:44 +02:00
|
|
|
],
|
2015-07-17 20:10:16 +02:00
|
|
|
install_requires=[
|
|
|
|
'django-appconf>=0.6.0',
|
|
|
|
],
|
2014-07-16 22:00:06 +02:00
|
|
|
zip_safe=False,
|
2012-08-05 09:30:44 +02:00
|
|
|
)
|