-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
35 lines (30 loc) · 799 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
32
33
34
35
import os
from setuptools import setup, find_packages
import django_oauth2_lite
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except IOError:
return ''
data_patterns = [
'templates/**/*',
'fixtures/**/*',
'fixtures/*'
]
package_data = dict(
(package_name, data_patterns) for package_name in find_packages()
)
setup(
name="django-oauth2-lite",
version=django_oauth2_lite.__version__,
description=read('DESCRIPTION'),
long_description=read('README.rst'),
keywords='oauth2',
packages=find_packages(),
author='Leif Johansson',
author_email='[email protected]',
url="",
include_package_data=True,
package_data=package_data,
test_suite='django-oauth2-lite.tests.runtests.runtests',
)