-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·63 lines (49 loc) · 1.67 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
55
56
57
58
59
60
61
62
63
#! /usr/bin/env python
# Copyright (C) 2019 Sebastian Pipping <sebastian@pipping.org>
# Licensed under the MIT license
import os
from textwrap import dedent
from setuptools import find_packages, setup
_classifiers = dedent("""\
Development Status :: 3 - Alpha
Framework :: Django
Framework :: Django :: 1.11
Framework :: Django :: 2.0
Framework :: Django :: 2.1
Framework :: Django :: 2.2
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Natural Language :: English
Programming Language :: Python
Programming Language :: Python :: 2.7
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
""")
_description = (
'Django management command'
' to create usable super users'
', programmatically'
)
_project_url = 'https://github.com/hartwork/django-createsuperuserwithpassword'
def _get_long_description():
readme_rst = os.path.join(os.path.dirname(__file__), 'README.rst')
with open(readme_rst, 'r') as f:
return f.read()
if __name__ == '__main__':
setup(
name='django-createsuperuserwithpassword',
url=_project_url,
description=_description,
long_description=_get_long_description(),
license='MIT',
version='2.0.0',
author='Adam Charnock, Sebastian Pipping',
author_email='sebastian@pipping.org',
packages=find_packages(),
classifiers=[c for c in _classifiers.split('\n') if c],
install_requires=[
'Django>=1.11',
],
)