Skip to content

Commit

Permalink
Move avocado_settings.py to main directory
Browse files Browse the repository at this point in the history
  • Loading branch information
kboone committed Apr 23, 2019
1 parent 91c4c7f commit 391d7ab
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion avocado/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
import os

# Figure out the root directory for our package.
package_root_directory = os.path.dirname(os.path.abspath(__file__))
dirname = os.path.dirname
package_root_directory = dirname(dirname(os.path.abspath(__file__)))

# First, load the default settings
default_path = os.path.join(package_root_directory, 'avocado_settings.json')
Expand Down
File renamed without changes.
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@
author_email='kboone@berkeley.edu',
license='BSD',
packages=['avocado'],
data_files=[('avocado', ['avocado/avocado_settings.json'])]

data_files=[('', ['avocado_settings.json'])]
)

0 comments on commit 391d7ab

Please sign in to comment.