-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
switch to pkgutil namespace packages
- Loading branch information
Showing
4 changed files
with
6 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
include LICENSE | ||
include snowpenguin/__init__.py | ||
include snowpenguin/django/__init.py | ||
recursive-include snowpenguin/django/recaptcha2/templates *.html | ||
recursive-include snowpenguin/django/recaptcha2/locale *.mo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,11 +2,10 @@ | |
from setuptools import setup, find_packages | ||
setup( | ||
name='django-recaptcha2', | ||
packages=find_packages(exclude=['samples'], include=['snowpenguin', 'snowpenguin.django', 'snowpenguin.django.*']), | ||
namespace_packages = ['snowpenguin', 'snowpenguin.django'], | ||
packages=find_packages(exclude=['samples']), | ||
# package_data={'': ['']}, | ||
include_package_data=True, | ||
version='1.0.2', | ||
version='1.0.3', | ||
install_requires=[ | ||
'Django>=1.7', | ||
'requests' | ||
|
@@ -21,7 +20,7 @@ | |
author='Andrea Briganti', | ||
author_email='[email protected]', | ||
url='https://github.com/kbytesys/django-recaptcha2', | ||
download_url='https://github.com/kbytesys/django-recaptcha2/tarball/v1.0.2', | ||
download_url='https://github.com/kbytesys/django-recaptcha2/tarball/v1.0.3', | ||
keywords=['django', 'recaptcha', 'recaptcha2'], | ||
license='GNU LGPL v2', | ||
classifiers=[ | ||
|
@@ -40,4 +39,4 @@ | |
'Topic :: Internet :: WWW/HTTP', | ||
'Topic :: Software Development :: Libraries :: Python Modules' | ||
], | ||
) | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__import__('pkg_resources').declare_namespace(__name__) | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__import__('pkg_resources').declare_namespace(__name__) | ||
__path__ = __import__('pkgutil').extend_path(__path__, __name__) |