-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
executable file
·33 lines (27 loc) · 1.19 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import re
import os
from setuptools import setup, find_packages
with open('accountsplus/__init__.py', 'r') as init_file:
version = re.search('^__version__ = [\'"]([^\'"]+)[\'"]', init_file.read(), re.MULTILINE).group(1)
download_url = 'https://github.com/foundertherapy/django-users-plus/archive/{}.tar.gz'.format(version)
# allow setup.py to be run from any path
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup(
name='django-users-plus',
version=version,
packages=find_packages(),
# license='MIT License',
include_package_data=True,
description=(
'A django app that provides extra features including masquerading, local timezone support on users, '
'an audit log for tracking admin and view-based data changes and activities, and support for Company '
'models and added fields to User model.'
),
url='http://github.com/foundertherapy/django-users-plus/',
download_url=download_url,
author='Dana Spiegel',
author_email='[email protected]',
keywords=['users', 'django', 'masquerading', 'masquerade', 'impersonate', 'timezone', 'company', 'audit log'],
)