Skip to content

Commit

Permalink
Fix __init__.py for pycharm namespace package support
Browse files Browse the repository at this point in the history
  • Loading branch information
chintal committed Nov 30, 2020
1 parent 3e9532c commit 4bb0ffc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 42 deletions.
22 changes: 1 addition & 21 deletions src/tendril/__init__.py
@@ -1,22 +1,2 @@
#!/usr/bin/env python
# encoding: utf-8
__path__ = __import__('pkgutil').extend_path(__path__, __name__)

# Copyright (C) 2018 Chintalagiri Shashank
#
# This file is part of tendril.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)
22 changes: 1 addition & 21 deletions src/tendril/utils/__init__.py
@@ -1,22 +1,2 @@
#!/usr/bin/env python
# encoding: utf-8
__path__ = __import__('pkgutil').extend_path(__path__, __name__)

# Copyright (C) 2018 Chintalagiri Shashank
#
# This file is part of tendril.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

from pkgutil import extend_path
__path__ = extend_path(__path__, __name__)

0 comments on commit 4bb0ffc

Please sign in to comment.