forked from marazmiki/django-ulogin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·59 lines (49 loc) · 1.68 KB
/
setup.py
File metadata and controls
executable file
·59 lines (49 loc) · 1.68 KB
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
#!/usr/bin/env python
# coding: utf-8
from setuptools import setup, find_packages
import os
import sys
py_version = sys.version_info
version = __import__('django_ulogin').get_version()
readme = os.path.join(os.path.dirname(__file__), 'README.rst')
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Framework :: Django'
]
install_requires = ['Django',
'requests',
'mock>=0.8.0',
'six']
tests_require = ['Django',
'requests',
'six']
if isinstance(py_version, tuple):
if py_version < (2, 7):
install_requires.append('importlib')
dl_url = 'https://github.com/marazmiki/django-ulogin/archive/master.zip'
setup(
name='django-ulogin',
author='Mikhail Porokhovnichenko <marazmiki@gmail.com>',
version=version,
author_email='marazmiki@gmail.com',
url='https://github.com/marazmiki/django-ulogin',
download_url=dl_url,
description='User social authentication with ulogin.ru service',
long_description=open(readme).read(),
license='MIT license',
platforms=['OS Independent'],
classifiers=CLASSIFIERS,
install_requires=install_requires,
packages=find_packages(exclude=['test_project', 'test_project.*']),
test_suite='tests.main',
tests_require=tests_require,
include_package_data=True,
zip_safe=False)