68 lines
2.2 KiB
Python
68 lines
2.2 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Copyright (c) 2012 by Pablo Martín <goinnn@gmail.com>
|
|
#
|
|
# This program is free software: you can redistribute it and/or modify
|
|
# it under the terms of the GNU Lesser General Public License as published by
|
|
# the Free Software Foundation, either version 3 of the License, or
|
|
# (at your option) any later version.
|
|
#
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU Lesser General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public License
|
|
# along with this programe. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
# Initial code got from http://djangosnippets.org/users/danielroseman/
|
|
|
|
import codecs
|
|
import os
|
|
from setuptools import setup, find_packages
|
|
|
|
|
|
def read(*rnames):
|
|
with codecs.open(
|
|
os.path.join(os.path.dirname(__file__), *rnames),
|
|
'r', 'utf-8',
|
|
) as f:
|
|
return f.read()
|
|
|
|
|
|
setup(
|
|
name="django-multiselectfield",
|
|
version="0.1.8",
|
|
author="Pablo Martin",
|
|
author_email="goinnn@gmail.com",
|
|
description="Django multiple select field",
|
|
long_description=(read('README.rst') + '\n\n' + read('CHANGES.rst')),
|
|
classifiers=[
|
|
'Development Status :: 4 - Beta',
|
|
'Framework :: Django',
|
|
'License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)',
|
|
'Programming Language :: Python :: 2',
|
|
'Programming Language :: Python :: 2.6',
|
|
'Programming Language :: Python :: 2.7',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3.3',
|
|
'Programming Language :: Python :: 3.4',
|
|
'Programming Language :: Python :: 3.5',
|
|
'Programming Language :: Python :: 3.6',
|
|
'Programming Language :: Python :: 3.7',
|
|
],
|
|
license="LGPL 3",
|
|
keywords="django,multiple,select,field,choices",
|
|
url='https://github.com/goinnn/django-multiselectfield',
|
|
packages=find_packages(),
|
|
include_package_data=True,
|
|
tests_require=[
|
|
'django>=1.4',
|
|
'tox',
|
|
'coverage',
|
|
'flake8',
|
|
],
|
|
install_requires=[
|
|
'django>=1.4',
|
|
],
|
|
zip_safe=False,
|
|
)
|