mirror of
https://github.com/jazzband/django-analytical.git
synced 2026-03-16 22:20:25 +00:00
Dropped Python2.7/3.5 and Django 1.11 from test matrix Removed Py2 code and updated for Py3 features Replaced assertRaisesRegexp with AsserRaisesRegex Updated setup.py for currently supported versions Removed _timestamp
48 lines
1.5 KiB
Python
48 lines
1.5 KiB
Python
import os
|
|
|
|
from setuptools import setup
|
|
|
|
import analytical as package
|
|
|
|
|
|
def read_file(fname):
|
|
return open(os.path.join(os.path.dirname(__file__), fname)).read()
|
|
|
|
|
|
setup(
|
|
name='django-analytical',
|
|
version=package.__version__,
|
|
license=package.__license__,
|
|
description=package.__doc__.strip(),
|
|
long_description=read_file('README.rst'),
|
|
long_description_content_type='text/x-rst',
|
|
author=package.__author__,
|
|
author_email=package.__email__,
|
|
packages=[
|
|
'analytical',
|
|
'analytical.templatetags',
|
|
],
|
|
keywords=['django', 'analytics'],
|
|
classifiers=[
|
|
'Development Status :: 5 - Production/Stable',
|
|
'Environment :: Web Environment',
|
|
'Framework :: Django',
|
|
'Framework :: Django :: 2.2',
|
|
'Framework :: Django :: 3.0',
|
|
'Framework :: Django :: 3.1',
|
|
'Intended Audience :: Developers',
|
|
'License :: OSI Approved :: MIT License',
|
|
'Operating System :: OS Independent',
|
|
'Programming Language :: Python',
|
|
'Topic :: Internet :: WWW/HTTP',
|
|
'Topic :: Software Development :: Libraries :: Python Modules',
|
|
'Programming Language :: Python :: 3',
|
|
'Programming Language :: Python :: 3.6',
|
|
'Programming Language :: Python :: 3.7',
|
|
'Programming Language :: Python :: 3.8',
|
|
'Programming Language :: Python :: 3.9',
|
|
],
|
|
platforms=['any'],
|
|
url='https://github.com/jazzband/django-analytical',
|
|
download_url='https://github.com/jazzband/django-analytical/archive/master.zip',
|
|
)
|