django-multiselectfield/setup.py

70 lines
2.3 KiB
Python
Raw Normal View History

2012-09-27 16:02:41 +02:00
# -*- coding: utf-8 -*-
2014-10-13 15:57:44 +02:00
# 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/
2012-09-27 16:02:41 +02:00
import codecs
2012-09-27 16:02:41 +02:00
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:
2017-05-10 12:45:55 +02:00
return f.read()
2012-09-27 16:02:41 +02:00
2012-09-27 16:02:41 +02:00
setup(
name="django-multiselectfield",
2022-12-05 17:36:05 +01:00
version="0.1.13",
2013-11-30 19:58:19 +01:00
author="Pablo Martin",
2012-09-27 16:13:58 +02:00
author_email="goinnn@gmail.com",
2012-09-27 16:02:41 +02:00
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',
2019-09-24 10:44:30 +02:00
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
2019-09-24 10:44:30 +02:00
'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',
'Programming Language :: Python :: 3.8',
2012-09-27 16:02:41 +02:00
],
license="LGPL 3",
keywords="django,multiple,select,field,choices",
url='https://github.com/goinnn/django-multiselectfield',
2013-12-04 16:53:25 +01:00
packages=find_packages(),
2012-09-27 16:02:41 +02:00
include_package_data=True,
tests_require=[
2019-09-24 10:44:30 +02:00
'django>=1.4',
'tox',
'coverage',
'flake8',
],
install_requires=[
2019-09-24 10:44:30 +02:00
'django>=1.4',
],
2012-09-27 16:02:41 +02:00
zip_safe=False,
)