setup.py 710 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#!/usr/bin/env python
# -*- coding: utf-8 -*-

import os
import sys
import subprocess
from setuptools import setup, find_packages


version = '0.1.0'


if sys.argv[-1] == 'publish':
    subprocess.call(['python', 'setup.py', 'sdist', 'upload'])
    print "You probably want to also tag the version now:"
    print "  git tag -a %s -m 'Tag version %s'" % (version, version)
    print "  git push --tags"
    sys.exit()


setup(
    name='django-users',
    version=version,
    description='Django user registration with backends and tools',
    author='Adrián Ribao',
    url='http://gitlab.adrima.es/django-users/master/tree',
Adrián Ribao's avatar
Adrián Ribao committed
27
    packages = find_packages(exclude=['tests', 'tests.*']),
28
29
    license='BSD',
)