-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
31 lines (24 loc) · 810 Bytes
/
setup.py
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
27
28
29
30
31
#!/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',
packages = find_packages(exclude=['tests', 'tests.*']),
#package_data = {'django_users': ['templates/*', 'locale/',]},
include_package_data = True,
license='BSD',
)