Skip to content

Commit

Permalink
Add project management files.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaugustin committed Apr 4, 2012
1 parent 5f948b0 commit 60afa7c
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.pyc
.coverage
dist
htmlcov
MANIFEST
2 changes: 2 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include AUTHORS
include LICENSE
13 changes: 13 additions & 0 deletions Makefile
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
40 changes: 40 additions & 0 deletions setup.py
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'
)

0 comments on commit 60afa7c

Please sign in to comment.