-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #92 from sdelements/pr/59
Add support for Referrer-Policy
- Loading branch information
Showing
5 changed files
with
166 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ | |
from distutils.core import Command | ||
from setuptools import setup | ||
|
||
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f: | ||
with open(os.path.join(os.path.dirname(__file__), "README.md")) as f: | ||
readme = f.read() | ||
|
||
|
||
|
@@ -20,37 +20,44 @@ def finalize_options(self): | |
pass | ||
|
||
def run(self): | ||
errno = subprocess.call([sys.executable, 'testing/manage.py', 'test']) | ||
errno = subprocess.call([sys.executable, "testing/manage.py", "test"]) | ||
raise SystemExit(errno) | ||
|
||
setup(name="django-security", | ||
description='A collection of tools to help secure a Django project.', | ||
long_description=readme, | ||
long_description_content_type='text/markdown', | ||
maintainer="SD Elements", | ||
maintainer_email="[email protected]", | ||
version="0.13.2", | ||
packages=["security", "security.south_migrations", | ||
"security.migrations", "security.auth_throttling"], | ||
url='https://github.com/sdelements/django-security', | ||
classifiers=[ | ||
'Framework :: Django', | ||
'Framework :: Django :: 1.11', | ||
'Framework :: Django :: 2.2', | ||
'Framework :: Django :: 3.0', | ||
'Environment :: Web Environment', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 3', | ||
'Programming Language :: Python :: 3.6', | ||
'Intended Audience :: Developers', | ||
'Operating System :: OS Independent', | ||
'License :: OSI Approved :: BSD License', | ||
'Topic :: Software Development :: Libraries :: Python Modules', | ||
'Topic :: Security', | ||
], | ||
install_requires=[ | ||
'django>=1.11', | ||
'ua_parser>=0.7.1', | ||
'python-dateutil==2.8.1', | ||
], | ||
cmdclass={'test': Test}) | ||
|
||
setup( | ||
name="django-security", | ||
description="A collection of tools to help secure a Django project.", | ||
long_description=readme, | ||
long_description_content_type="text/markdown", | ||
maintainer="SD Elements", | ||
maintainer_email="[email protected]", | ||
version="0.13.2", | ||
packages=[ | ||
"security", | ||
"security.south_migrations", | ||
"security.migrations", | ||
"security.auth_throttling", | ||
], | ||
url="https://github.com/sdelements/django-security", | ||
classifiers=[ | ||
"Framework :: Django", | ||
"Framework :: Django :: 1.11", | ||
"Framework :: Django :: 2.2", | ||
"Framework :: Django :: 3.0", | ||
"Environment :: Web Environment", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
"Intended Audience :: Developers", | ||
"Operating System :: OS Independent", | ||
"License :: OSI Approved :: BSD License", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
"Topic :: Security", | ||
], | ||
install_requires=[ | ||
"django>=1.11", | ||
"ua_parser>=0.7.1", | ||
"python-dateutil==2.8.1", | ||
], | ||
cmdclass={"test": Test}, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters