Skip to content

Commit

Permalink
Merge pull request #613 from clawpack/cleaner_install
Browse files Browse the repository at this point in the history
Cleaner install
  • Loading branch information
ketch committed Nov 27, 2018
2 parents 7715edb + bceb844 commit efc2c27
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 25 deletions.
24 changes: 0 additions & 24 deletions demo/petsc_hello_world.py

This file was deleted.

7 changes: 7 additions & 0 deletions src/pyclaw/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
import os
import logging, logging.config


# To get pyclaw.examples
_path = os.path.dirname(os.path.dirname(__path__[0]))
if os.path.isdir(_path):
__path__.append(_path)
del _path

# Default logging configuration file
_DEFAULT_LOG_CONFIG_PATH = os.path.join(os.path.dirname(__file__),'log.config')
del os
Expand Down
2 changes: 1 addition & 1 deletion src/pyclaw/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def configuration(parent_package='',top_path=None):
config.add_subpackage('sharpclaw')
config.add_subpackage('fileio')
config.add_subpackage('limiters')
config.add_subpackage('examples')
config.add_subpackage('examples', subpackage_path='pyclaw/examples')
config.add_subpackage('tests')
return config

Expand Down

0 comments on commit efc2c27

Please sign in to comment.