Skip to content

Commit

Permalink
changed file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Laderer authored and Will Laderer committed Nov 17, 2023
1 parent 282a2e5 commit 37020cc
Show file tree
Hide file tree
Showing 17 changed files with 27 additions and 25 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
],
entry_points={
'console_scripts': [
'vsh = vsh:main'
'vsh = vsh.cli:main'
]
}
)
14 changes: 7 additions & 7 deletions vsh.egg-info/PKG-INFO
Original file line number Diff line number Diff line change
@@ -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
24 changes: 13 additions & 11 deletions vsh.egg-info/SOURCES.txt
Original file line number Diff line number Diff line change
@@ -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
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
6 changes: 3 additions & 3 deletions vsh.egg-info/requires.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ase
matplotlib
mp-api
numpy
pydantic
matplotlib
pymatgen
mp-api
pyprocar
pydantic
2 changes: 1 addition & 1 deletion vsh.egg-info/top_level.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
scripts
vsh
Empty file added vsh/__init__.py
Empty file.
4 changes: 2 additions & 2 deletions vsh.py → vsh/cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
import argparse
import scripts
from . import scripts
import importlib.util
import sys

Expand All @@ -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__":
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 37020cc

Please sign in to comment.