forked from zsoldosp/django-currentuser
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·58 lines (50 loc) · 1.55 KB
/
setup.py
File metadata and controls
executable file
·58 lines (50 loc) · 1.55 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import sys
import django_currentuser
from setuptools import setup
version = django_currentuser.__version__
if sys.argv[-1] == 'publish':
os.system('make release')
sys.exit()
readme = open('README.rst').read()
description = "Conveniently store reference to request user on thread/db level."
setup(
name='django-currentuser',
version=version,
description=description,
long_description=readme,
author='Peter Zsoldos',
author_email='hello@zsoldosp.eu',
url='https://github.com/zsoldosp/django-currentuser',
packages=[
'django_currentuser',
],
include_package_data=True,
install_requires=[
'Django>=3.2,<6.0;python_version>="3.8"',
],
license="BSD",
zip_safe=False,
keywords='django-currentuser',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
"Operating System :: OS Independent",
'Natural Language :: English',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Framework :: Django',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4',
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Framework :: Django :: 5.0'
],
)