diff --git a/rangefilter/__init__.py b/rangefilter/__init__.py index 9813781..69dff6b 100644 --- a/rangefilter/__init__.py +++ b/rangefilter/__init__.py @@ -4,7 +4,7 @@ __author__ = 'Dmitriy Sokolov' -__version__ = '0.3.3' +__version__ = '0.3.4' default_app_config = 'rangefilter.apps.RangeFilterConfig' diff --git a/setup.py b/setup.py index b265f08..6a93d45 100755 --- a/setup.py +++ b/setup.py @@ -6,6 +6,10 @@ from setuptools import setup +def read_md(f): + return open(f, 'r', encoding='utf-8').read() + + def get_version(package): init_py = open(os.path.join(package, '__init__.py')).read() return re.search("__version__ = ['\"]([^'\"]+)['\"]", init_py).group(1) @@ -33,17 +37,18 @@ def get_package_data(package): version=get_version('rangefilter'), url='https://github.com/silentsokolov/django-admin-rangefilter', license='MIT', + description='django-admin-rangefilter app, add the filter by a custom date range on the admin UI.', + long_description=read_md('README.rst'), author='Dmitriy Sokolov', author_email='silentsokolov@gmail.com', - description='django-admin-rangefilter app, add the filter by a custom date range on the admin UI.', - zip_safe=False, - include_package_data=True, - platforms='any', packages=get_packages('rangefilter'), package_data=get_package_data('rangefilter'), + include_package_data=True, install_requires=[], + python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", + zip_safe=False, + platforms='any', classifiers=[ - 'Development Status :: 4 - Beta', 'Development Status :: 5 - Production/Stable', 'Environment :: Web Environment', 'Framework :: Django', @@ -51,7 +56,12 @@ def get_package_data(package): 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', + 'Programming Language :: Python :: 2', + 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.4', + 'Programming Language :: Python :: 3.5', + 'Programming Language :: Python :: 3.6', 'Topic :: Utilities', ], )