From 37020cc6ecfe954824319d661e5ed7d2733e6719 Mon Sep 17 00:00:00 2001 From: Will Laderer Date: Thu, 16 Nov 2023 22:57:54 -0800 Subject: [PATCH] changed file structure --- setup.py | 2 +- vsh.egg-info/PKG-INFO | 14 +++++++------- vsh.egg-info/SOURCES.txt | 24 +++++++++++++----------- vsh.egg-info/requires.txt | 6 +++--- vsh.egg-info/top_level.txt | 2 +- vsh/__init__.py | 0 vsh.py => vsh/cli.py | 4 ++-- {scripts => vsh/scripts}/__init__.py | 0 {scripts => vsh/scripts}/adsorb.py | 0 {scripts => vsh/scripts}/analysis.py | 0 {scripts => vsh/scripts}/band.py | 0 {scripts => vsh/scripts}/db.py | 0 {scripts => vsh/scripts}/freeze.py | 0 {scripts => vsh/scripts}/input.py | 0 {scripts => vsh/scripts}/manage.py | 0 {scripts => vsh/scripts}/schedule.py | 0 {scripts => vsh/scripts}/slab.py | 0 17 files changed, 27 insertions(+), 25 deletions(-) create mode 100644 vsh/__init__.py rename vsh.py => vsh/cli.py (89%) rename {scripts => vsh/scripts}/__init__.py (100%) rename {scripts => vsh/scripts}/adsorb.py (100%) rename {scripts => vsh/scripts}/analysis.py (100%) rename {scripts => vsh/scripts}/band.py (100%) rename {scripts => vsh/scripts}/db.py (100%) rename {scripts => vsh/scripts}/freeze.py (100%) rename {scripts => vsh/scripts}/input.py (100%) rename {scripts => vsh/scripts}/manage.py (100%) rename {scripts => vsh/scripts}/schedule.py (100%) rename {scripts => vsh/scripts}/slab.py (100%) diff --git a/setup.py b/setup.py index 7c16df0..f555a19 100755 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ ], entry_points={ 'console_scripts': [ - 'vsh = vsh:main' + 'vsh = vsh.cli:main' ] } ) diff --git a/vsh.egg-info/PKG-INFO b/vsh.egg-info/PKG-INFO index 95ac74c..b964737 100644 --- a/vsh.egg-info/PKG-INFO +++ b/vsh.egg-info/PKG-INFO @@ -1,11 +1,11 @@ Metadata-Version: 2.1 Name: vsh Version: 0.2 -Summary: UNKNOWN -Home-page: UNKNOWN -License: UNKNOWN -Platform: UNKNOWN License-File: LICENSE - -UNKNOWN - +Requires-Dist: ase +Requires-Dist: numpy +Requires-Dist: matplotlib +Requires-Dist: pymatgen +Requires-Dist: mp-api +Requires-Dist: pyprocar +Requires-Dist: pydantic diff --git a/vsh.egg-info/SOURCES.txt b/vsh.egg-info/SOURCES.txt index 609dc01..6624941 100644 --- a/vsh.egg-info/SOURCES.txt +++ b/vsh.egg-info/SOURCES.txt @@ -1,23 +1,25 @@ LICENSE README.md setup.py -scripts/__init__.py -scripts/adsorb.py -scripts/analysis.py -scripts/band.py -scripts/db.py -scripts/freeze.py -scripts/input.py -scripts/manage.py -scripts/schedule.py -scripts/slab.py test/test_analysis.py test/test_freeze.py test/test_slab.py test/test_vshband.py +vsh/__init__.py +vsh/cli.py vsh.egg-info/PKG-INFO vsh.egg-info/SOURCES.txt vsh.egg-info/dependency_links.txt vsh.egg-info/entry_points.txt vsh.egg-info/requires.txt -vsh.egg-info/top_level.txt \ No newline at end of file +vsh.egg-info/top_level.txt +vsh/scripts/__init__.py +vsh/scripts/adsorb.py +vsh/scripts/analysis.py +vsh/scripts/band.py +vsh/scripts/db.py +vsh/scripts/freeze.py +vsh/scripts/input.py +vsh/scripts/manage.py +vsh/scripts/schedule.py +vsh/scripts/slab.py \ No newline at end of file diff --git a/vsh.egg-info/requires.txt b/vsh.egg-info/requires.txt index be75d25..459fb44 100644 --- a/vsh.egg-info/requires.txt +++ b/vsh.egg-info/requires.txt @@ -1,7 +1,7 @@ ase -matplotlib -mp-api numpy -pydantic +matplotlib pymatgen +mp-api pyprocar +pydantic diff --git a/vsh.egg-info/top_level.txt b/vsh.egg-info/top_level.txt index b744996..cb5b15d 100644 --- a/vsh.egg-info/top_level.txt +++ b/vsh.egg-info/top_level.txt @@ -1 +1 @@ -scripts +vsh diff --git a/vsh/__init__.py b/vsh/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/vsh.py b/vsh/cli.py similarity index 89% rename from vsh.py rename to vsh/cli.py index f7d83aa..34ef543 100755 --- a/vsh.py +++ b/vsh/cli.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 import argparse -import scripts +from . import scripts import importlib.util import sys @@ -24,7 +24,7 @@ def parse_app_args(args=None): def main(): args = parse_app_args() - command = lazy_import('scripts.'+args.command) + command = lazy_import('vsh.scripts.'+args.command) command.run(args) if __name__ == "__main__": diff --git a/scripts/__init__.py b/vsh/scripts/__init__.py similarity index 100% rename from scripts/__init__.py rename to vsh/scripts/__init__.py diff --git a/scripts/adsorb.py b/vsh/scripts/adsorb.py similarity index 100% rename from scripts/adsorb.py rename to vsh/scripts/adsorb.py diff --git a/scripts/analysis.py b/vsh/scripts/analysis.py similarity index 100% rename from scripts/analysis.py rename to vsh/scripts/analysis.py diff --git a/scripts/band.py b/vsh/scripts/band.py similarity index 100% rename from scripts/band.py rename to vsh/scripts/band.py diff --git a/scripts/db.py b/vsh/scripts/db.py similarity index 100% rename from scripts/db.py rename to vsh/scripts/db.py diff --git a/scripts/freeze.py b/vsh/scripts/freeze.py similarity index 100% rename from scripts/freeze.py rename to vsh/scripts/freeze.py diff --git a/scripts/input.py b/vsh/scripts/input.py similarity index 100% rename from scripts/input.py rename to vsh/scripts/input.py diff --git a/scripts/manage.py b/vsh/scripts/manage.py similarity index 100% rename from scripts/manage.py rename to vsh/scripts/manage.py diff --git a/scripts/schedule.py b/vsh/scripts/schedule.py similarity index 100% rename from scripts/schedule.py rename to vsh/scripts/schedule.py diff --git a/scripts/slab.py b/vsh/scripts/slab.py similarity index 100% rename from scripts/slab.py rename to vsh/scripts/slab.py