Skip to content

Commit

Permalink
Prepare 0.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
silentsokolov committed Apr 11, 2018
1 parent c430928 commit 718ed5c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
2 changes: 1 addition & 1 deletion rangefilter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@


__author__ = 'Dmitriy Sokolov'
__version__ = '0.3.3'
__version__ = '0.3.4'


default_app_config = 'rangefilter.apps.RangeFilterConfig'
Expand Down
20 changes: 15 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -33,25 +37,31 @@ 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='[email protected]',
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',
'Intended Audience :: Developers',
'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',
],
)

0 comments on commit 718ed5c

Please sign in to comment.