mirror of
https://github.com/Hopiu/django-cachalot.git
synced 2026-03-16 21:30:23 +00:00
* Fix a comment block disabling incorrectly RST form for cachalot_disabled * Update CHANGELOG.rst * Several points did I incorrectly say that 50 modifications per second was too much. It was supposed to say minute. You'd have to have a LARGE website to really get to that point since inserts from an external DB would typically take a 250-1000ms/1s per INSERT/UPDATE * Add Python 3.9 support in the docs and setup.py * Move chat to Discord and reflect in the docs
47 lines
1.5 KiB
Python
Executable file
47 lines
1.5 KiB
Python
Executable file
#!/usr/bin/env python
|
|
|
|
import os
|
|
from setuptools import setup, find_packages
|
|
from cachalot import __version__
|
|
|
|
|
|
CURRENT_PATH = os.path.abspath(os.path.dirname(__file__))
|
|
|
|
with open(os.path.join(CURRENT_PATH, 'requirements.txt')) as f:
|
|
required = f.read().splitlines()
|
|
|
|
|
|
setup(
|
|
name='django-cachalot',
|
|
version=__version__,
|
|
author='Bertrand Bordage, Andrew Chen Wang',
|
|
author_email='acwangpython@gmail.com',
|
|
url='https://github.com/noripyt/django-cachalot',
|
|
description='Caches your Django ORM queries '
|
|
'and automatically invalidates them.',
|
|
long_description=open('README.rst').read(),
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Framework :: Django',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: BSD License',
|
|
'Operating System :: OS Independent',
|
|
'Framework :: Django :: 2.0',
|
|
'Framework :: Django :: 2.1',
|
|
'Framework :: Django :: 2.2',
|
|
'Framework :: Django :: 3.0',
|
|
'Framework :: Django :: 3.1',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3.5',
|
|
'Programming Language :: Python :: 3.6',
|
|
'Programming Language :: Python :: 3.7',
|
|
'Programming Language :: Python :: 3.8',
|
|
'Programming Language :: Python :: 3.9',
|
|
'Topic :: Internet :: WWW/HTTP',
|
|
],
|
|
license='BSD',
|
|
packages=find_packages(),
|
|
install_requires=required,
|
|
include_package_data=True,
|
|
zip_safe=False,
|
|
)
|