Fix setup. Now makes use of find_packages function.

This commit is contained in:
Ignacio Fiorentino 2016-10-28 15:29:17 -03:00
parent 50e5287b48
commit d2e2c66d81
2 changed files with 6 additions and 6 deletions

View file

@ -1,4 +1,5 @@
include LICENSE include LICENSE
include README.md include README.md
recursive-include oidc_provider/static *
recursive-include oidc_provider/templates * recursive-include oidc_provider/templates *
recursive-include oidc_provider/tests/templates * recursive-include oidc_provider/tests/templates *

View file

@ -1,5 +1,8 @@
import os import os
from setuptools import setup from setuptools import (
find_packages,
setup,
)
# allow setup.py to be run from any path # allow setup.py to be run from any path
@ -8,11 +11,7 @@ os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
setup( setup(
name='django-oidc-provider', name='django-oidc-provider',
version='0.4.2', version='0.4.2',
packages=[ packages=find_packages(),
'oidc_provider', 'oidc_provider/lib', 'oidc_provider/lib/endpoints',
'oidc_provider/lib/utils', 'oidc_provider/tests', 'oidc_provider/tests/app',
'oidc_provider/migrations', 'oidc_provider/management', 'oidc_provider/management/commands',
],
include_package_data=True, include_package_data=True,
license='MIT License', license='MIT License',
description='OpenID Connect Provider implementation for Django.', description='OpenID Connect Provider implementation for Django.',