Skip to content

Commit

Permalink
Merge pull request #33 from samdoghor/v0.0.1
Browse files Browse the repository at this point in the history
chore: little house keeping and files & folder restructure
  • Loading branch information
samdoghor authored Jan 24, 2024
2 parents 5f835e7 + 39f9ee4 commit ca70d43
Show file tree
Hide file tree
Showing 141 changed files with 2,768 additions and 17 deletions.
2,752 changes: 2,752 additions & 0 deletions .vscode/PythonImportHelper-v2-Completion.json

Large diffs are not rendered by default.

5 changes: 0 additions & 5 deletions myte/__init__.py

This file was deleted.

2 changes: 0 additions & 2 deletions myte/utils/__init__.py

This file was deleted.

File renamed without changes.
File renamed without changes.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,12 @@
import os
import shutil

from constants import current_dir, messages, system_os, template_folder
from rich import print as mprint
from rich.console import Console
from rich.text import Text
from utils import GenerateSecretKey

from ..utils.secret_key_generator import GenerateSecretKey
from ..utils.constants import current_dir, messages, system_os, template_folder


class CreateProject:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
import shutil

import typer
from constants import current_dir, messages
from rich import print as mprint

from ..utils.constants import current_dir, messages


class DeleteProject:
""" This class defines the project deletion/override function """
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@

import inquirer
import typer
from create_project import CreateProject
from delete_project import DeleteProject
from rich import print as mprint
from rich.prompt import Prompt
from utils import UKeyboardInterrupt

from ..utils.errors import UKeyboardInterrupt
from .create_project import CreateProject
from .delete_project import DeleteProject


class SetupProject:
Expand Down
Empty file.
File renamed without changes.
Empty file.
Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@

# get template folder path

template_folder = os.path.join(os.path.dirname(__file__), "templates")
# template_folder = os.path.join(os.path.dirname(__file__), "templates")
template_folder = os.path.join(os.path.abspath(
os.path.join(os.path.dirname(__file__), os.pardir)), "templates")


# get current working directory path

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions myte/main.py → packages/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"""

import typer
from constants import messages
from create_myte.resources.setup_project import SetupProject
from create_myte.utils.constants import messages
from rich import print as mprint
from rich.console import Console
from rich.text import Text
from setup_project import SetupProject

# cli initialization

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ install_requires =

[options.entry_points]
console_scripts =
myte-start = myte.main:main
create-myte = myte.main:main

0 comments on commit ca70d43

Please sign in to comment.