Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
django-cas-server
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Valentin Samir
django-cas-server
Commits
2f6c69f1
Commit
2f6c69f1
authored
Mar 18, 2016
by
Valentin Samir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
For django 1.7 compatibility we need django-boostrap3 < 7.0.0
parent
10c53a80
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
2 deletions
+24
-2
README.rst
README.rst
+4
-0
setup.py
setup.py
+20
-2
No files found.
README.rst
View file @
2f6c69f1
...
...
@@ -19,6 +19,10 @@ use any sources (see auth classes in the auth.py file)
The defaut login/logout template use `django-bootstrap3 <https://github.com/dyve/django-bootstrap3>`_
but you can use your own templates using settings variables.
Note that for Django 1.7 compatibility, you need a version of
`django-bootstrap3 <https://github.com/dyve/django-bootstrap3>`_ < 7.0.0
like the 6.2.2 version.
Features
--------
...
...
setup.py
View file @
2f6c69f1
import
os
import
pkg_resources
from
setuptools
import
setup
with
open
(
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'README.rst'
))
as
readme
:
...
...
@@ -7,6 +8,23 @@ with open(os.path.join(os.path.dirname(__file__), 'README.rst')) as readme:
# allow setup.py to be run from any path
os
.
chdir
(
os
.
path
.
normpath
(
os
.
path
.
join
(
os
.
path
.
abspath
(
__file__
),
os
.
pardir
)))
# if we have Django 1.8 available, use last version of django-boostrap3
try
:
pkg_resources
.
require
(
'Django >= 1.8'
)
django_bootstrap3
=
'django-bootstrap3 >= 5.4'
django
=
'Django >= 1.8,<1.10'
except
pkg_resources
.
VersionConflict
:
# Else if we have django 1.7, we need django-boostrap3 < 7.0.0
try
:
pkg_resources
.
require
(
'Django >= 1.7'
)
django_bootstrap3
=
'django-bootstrap3 >= 5.4,<7.0.0'
django
=
'Django >= 1.7,<1.8'
except
pkg_resources
.
VersionConflict
:
# Else we need to install Django, assume version will be >= 1.8
django_bootstrap3
=
'django-bootstrap3 >= 5.4'
django
=
'Django >= 1.8,<1.10'
setup
(
name
=
'django-cas-server'
,
version
=
'0.4.1'
,
...
...
@@ -44,8 +62,8 @@ setup(
},
keywords
=
[
'django'
,
'cas'
,
'cas3'
,
'server'
,
'sso'
,
'single sign-on'
,
'authentication'
,
'auth'
],
install_requires
=
[
'Django >= 1.7,<1.10'
,
'requests >= 2.4'
,
'requests_futures >= 0.9.5'
,
'django-picklefield >= 0.3.1'
,
'django-bootstrap3 >= 5.4'
,
'lxml >= 3.4'
django
,
'requests >= 2.4'
,
'requests_futures >= 0.9.5'
,
'django-picklefield >= 0.3.1'
,
django_bootstrap3
,
'lxml >= 3.4'
],
url
=
"https://github.com/nitmir/django-cas-server"
,
download_url
=
"https://github.com/nitmir/django-cas-server/releases"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment