Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 28 lines (23 sloc) 0.726 kb
735249c @tomchristie First commit
tomchristie authored
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3
4 import os
5 import sys
6 from distutils.core import setup
7 import emailusernames
8
9 version = emailusernames.__version__
10
11 if sys.argv[-1] == 'publish':
12 os.system("python setup.py sdist upload")
13 print "You probably want to also tag the version now:"
14 print " git tag -a %s -m 'version %s'" % (version, version)
15 print " git push --tags"
16 sys.exit()
17
18 setup(
19 name='django-email-as-username',
20 version=version,
21 description='User authentication with email addresses instead of usernames.',
22 author='Tom Christie',
23 url='https://github.com/dabapps/django-email-as-username',
24 packages=['emailusernames', ],
25 install_requires=[],
26 license='BSD',
27 )
Something went wrong with that request. Please try again.