Skip to content

Commit

Permalink
Merge branch 'hotfix/0.9.4.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastian-code committed Feb 22, 2018
2 parents da4a858 + 9968677 commit 507fb6b
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions setup.py
Expand Up @@ -2,14 +2,23 @@
# -*- coding: utf-8 -*-
from setuptools import find_packages, setup

with open('README.rst') as file:
long_description = file.read()
def get_long_description():
"""This function provides the content inside the readme file, keeping it
up to date with the latest changes and reducing memory load."""
with open('README.rst') as file:
return file.read()

def get_requirements():
"""This function keeps the requirements up to date with the most recent
changes in the files, and reducing the human error chance."""
with open('requirements.txt') as file:
return file.read()

setup(
name='django-qa',
version='0.9.4.2',
description='Pluggable django app for Q&A',
long_description=long_description,
long_description=get_long_description(),
author='arjunkomath, cdvv7788, sebastian-code, jlariza, swappsco',
author_email='dev@swapps.co',
url='https://github.com/swappsco/django-qa',
Expand All @@ -33,13 +42,7 @@
'Framework :: Django :: 1.10',
'Framework :: Django :: 1.11',
],
install_requires=[
'django-annoying==0.10.3',
'django-markdown-app==0.9.3.1',
'django-taggit==0.22.1',
'pytz==2017.2',
'django-hitcount==1.2.2'
],
install_requires=get_requirements(),
extras_require={
'i18n': [
'django-modeltranslation>=0.5b1',
Expand Down

0 comments on commit 507fb6b

Please sign in to comment.