-
Notifications
You must be signed in to change notification settings - Fork 4
/
setup.py
45 lines (40 loc) · 1.28 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
from setuptools import setup, find_packages
with open('README.md') as readme_file:
README = readme_file.read()
with open('HISTORY.md') as history_file:
HISTORY = history_file.read()
setup_args = dict(
name='django-custom-cache-page',
version='0.3',
description='A customizable implementation of Django\'s cache_page decorator.',
long_description_content_type='text/plain',
long_description=README + '\n\n' + HISTORY,
license='MIT',
packages=find_packages(),
author='Mohamad Bahamdain',
author_email='[email protected]',
keywords=['Django', 'Django Cache', 'cache_page'],
url='https://github.com/zidsa/django-custom-cache-page',
download_url='https://pypi.org/project/django-custom-cache-page/',
classifiers = [
'Programming Language :: Python :: 3 :: Only',
'Framework :: Django',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
]
)
install_requires = [
'django>=2.0',
]
if __name__ == '__main__':
setup(**setup_args,
install_requires=install_requires,
extras_require={
'dev': [
'pytest',
'pytest-pep8',
'pytest-cov',
'pytest-django',
]
}
)