diff --git a/.dockerignore b/.dockerignore index 6673344..b7492dc 100644 --- a/.dockerignore +++ b/.dockerignore @@ -6,5 +6,6 @@ **/__pycache__ **/.DS_Store **/.*.swp +**/.packj.yaml **/sandbox/strace **/sandbox/*.so diff --git a/packj/main.py b/packj/main.py index ae2eba3..74231b6 100644 --- a/packj/main.py +++ b/packj/main.py @@ -38,9 +38,9 @@ def main(config:str): exit(1) def bin_wrapper(): - config = os.path.join('.packj', 'config.yaml') + config = '.packj.yaml' if not os.path.exists(config): - config = os.path.expanduser(os.path.join('~', f'{config}')) + config = os.path.expanduser(os.path.join('~', os.path.join('.packj', 'config.yaml'))) return main(config) def main_wrapper(): diff --git a/setup.py b/setup.py index 097f0be..0c11a98 100644 --- a/setup.py +++ b/setup.py @@ -78,7 +78,7 @@ def run(self): data_files = [ (os.path.expanduser(os.path.join('~','.packj')), ['packj/config.yaml']), ], - version = '0.9', + version = '0.10', license='GNU AGPLv3', description = 'Packj flags "risky" open-source packages in your software supply chain', long_description=long_description,