-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
60 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
*.pyc | ||
.coverage | ||
dist | ||
htmlcov | ||
MANIFEST |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
include AUTHORS | ||
include LICENSE |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
test: | ||
DJANGO_SETTINGS_MODULE=urlauth.tests.settings \ | ||
django-admin.py test urlauth | ||
|
||
coverage: | ||
coverage erase | ||
DJANGO_SETTINGS_MODULE=urlauth.tests.settings \ | ||
coverage run --branch --source=urlauth `which django-admin.py` test urlauth | ||
coverage html | ||
|
||
clean: | ||
find . -name '*.pyc' -delete | ||
rm -rf .coverage dist htmlcov MANIFEST |
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import distutils.core | ||
import os | ||
|
||
# Avoid polluting the .tar.gz with ._* files under Mac OS X | ||
os.putenv('COPYFILE_DISABLE', 'true') | ||
|
||
description = ('URL-based authentication, an application that provides ' | ||
'one-click login via specially crafted URLs') | ||
|
||
with open(os.path.join(os.path.dirname(__file__), 'README')) as f: | ||
long_description = '\n\n'.join(f.read().split('\n\n')[2:6]) | ||
|
||
distutils.core.setup( | ||
name='django-urlauth', | ||
version='0.1', | ||
author='Aymeric Augustin', | ||
author_email='aymeric.augustin@m4x.org', | ||
url='https://github.com/aaugustin/django-urlauth', | ||
description=description, | ||
long_description=long_description, | ||
download_url='http://pypi.python.org/pypi/django-urlauth', | ||
packages=[ | ||
'urlauth', | ||
'urlauth.tests', | ||
], | ||
classifiers=[ | ||
"Development Status :: 3 - Alpha", | ||
"Environment :: Web Environment", | ||
"Framework :: Django", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: BSD License", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 2", | ||
"Programming Language :: Python :: 2.6", | ||
"Programming Language :: Python :: 2.7", | ||
], | ||
platforms='all', | ||
license='BSD' | ||
) |