forked from jcugat/django-custom-user
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (50 loc) · 1.83 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
from setuptools import find_packages, setup
import sys
if sys.argv[-1] == 'publish':
print("Remember to update the Changelog's version and date in README.rst and stage the changes")
input("Press Enter to continue...")
os.system("bumpversion --allow-dirty minor")
os.system("python setup.py sdist bdist_wheel")
os.system("twine upload dist/*")
print("You probably want to update the repo now:")
print(" git push origin master")
print(" git push --tags")
sys.exit()
readme = open('README.rst').read()
setup(
name='django-custom-user',
version='0.7',
description="""Custom user model for Django >= 1.5 with the same behaviour as Django's default User but with email instead of username.""",
long_description=readme,
author='Josep Cugat',
author_email='jcugat@gmail.com',
url='https://github.com/jcugat/django-custom-user',
packages=find_packages('src'),
package_dir={'': 'src'},
include_package_data=True,
install_requires=[
"Django >= 1.5",
],
license='BSD License',
zip_safe=False,
keywords='django custom user auth model email without username',
classifiers=[
'Development Status :: 4 - Beta',
'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.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
)