refactor / rename files into different project structure
This commit is contained in:
parent
e74c081e42
commit
1ab35ed7c9
18 changed files with 9 additions and 10 deletions
|
@ -2,7 +2,7 @@ from pathlib import Path, PurePath
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
from .formatting_config import BasicFormattingConfig
|
from .formatting_config import BasicFormattingConfig
|
||||||
|
|
||||||
from ..paths import PyTeXRootDirType
|
from PyTeX.build.paths import PyTeXRootDirType
|
||||||
|
|
||||||
|
|
||||||
class GlobalPyTeXConfig:
|
class GlobalPyTeXConfig:
|
|
@ -1,6 +1,5 @@
|
||||||
from pathlib import Path, PurePath, PosixPath, PurePosixPath, PureWindowsPath, WindowsPath
|
from pathlib import Path, PurePath, PurePosixPath, PureWindowsPath
|
||||||
from typing import Union
|
from PyTeX.build.config.global_config import GlobalPyTeXConfig
|
||||||
from PyTeX.config.global_config import GlobalPyTeXConfig
|
|
||||||
from .enums import PyTeXRootDirType
|
from .enums import PyTeXRootDirType
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
import os
|
import os
|
||||||
from pathlib import Path, WindowsPath, PosixPath
|
from pathlib import Path, WindowsPath, PosixPath
|
||||||
|
|
||||||
from PyTeX.config import GlobalPyTeXConfig
|
from PyTeX.build.config import GlobalPyTeXConfig
|
||||||
from PyTeX.paths import PyTeXRootDirType
|
from PyTeX.build.paths import PyTeXRootDirType
|
||||||
|
|
||||||
|
|
||||||
class RelativePath(Path):
|
class RelativePath(Path):
|
|
@ -1,10 +1,10 @@
|
||||||
from typing import Optional, List, Dict, Tuple
|
from typing import Optional, List, Dict, Tuple
|
||||||
|
|
||||||
from PyTeX.build.build_info import BasicBuildInfo
|
from PyTeX.build.build_info import BasicBuildInfo
|
||||||
from PyTeX.config import BasicFormattingConfig, GlobalPyTeXConfig
|
from PyTeX.build.config import GlobalPyTeXConfig
|
||||||
from .enums import PyTeXFileType
|
from .enums import PyTeXFileType
|
||||||
from PyTeX.formatting.formatter import Formatter
|
from PyTeX.format.formatter import Formatter
|
||||||
from ...paths import RelativePath
|
from PyTeX.build.paths import RelativePath
|
||||||
|
|
||||||
|
|
||||||
class PyTeXSourceFile:
|
class PyTeXSourceFile:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
from PyTeX.paths import PyTeXRootDirType
|
from PyTeX.build.paths import PyTeXRootDirType
|
||||||
from PyTeX.build.pytex_file import PyTeXFileType
|
from PyTeX.build.pytex_file import PyTeXFileType
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue