Skip to content

Commit

Permalink
Merge pull request #16 from Gaareth/fix-resource-not-found
Browse files Browse the repository at this point in the history
Fix config file not found
  • Loading branch information
Prayag2 authored Mar 6, 2021
2 parents 9e91e7e + e6d4133 commit 78a1267
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Binary file modified konsave/__pycache__/vars.cpython-39.pyc
Binary file not shown.
3 changes: 3 additions & 0 deletions konsave/vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@

export_extension = '.knsv'

if not os.path.exists(KONSAVE_DIR):
os.makedirs(KONSAVE_DIR)

if not os.path.exists(PROFILES_DIR):
os.makedirs(PROFILES_DIR)

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def read_desc():
url="https://www.github.com/prayag2/konsave/",
packages=find_packages(),
package_data={'config': ['conf.yaml']},
include_package_data=True,
install_requires=['PyYaml'],
classifiers = [
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
Expand Down

0 comments on commit 78a1267

Please sign in to comment.