Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add core and dev directories #28

Merged
merged 7 commits into from
Sep 3, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pip install lightning_tools
__Usage:__

```bash
python -m lightning_tools [group] [command]
python -m lightning_tools.dev [group] [command]
carmocca marked this conversation as resolved.
Show resolved Hide resolved
```

<details>
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _load_py_module(fname, pkg="lightning_tools"):
long_description_content_type="text/markdown",
include_package_data=True,
zip_safe=False,
keywords=["DevOps", "CI/CD"],
keywords=["Utilities", "DevOps", "CI/CD"],
python_requires=">=3.7",
setup_requires=[],
install_requires=requirements,
Expand Down
Empty file.
File renamed without changes.
Empty file.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import fire

from lightning_tools.dependencies import prune_pkgs_in_requirements, replace_oldest_ver
from lightning_tools.dev.dependencies import prune_pkgs_in_requirements, replace_oldest_ver


def main() -> None:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import operator

from lightning_tools.imports import compare_version, module_available, RequirementCache
from lightning_tools.core.imports import compare_version, module_available, RequirementCache


def test_module_exists():
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from pathlib import Path

from lightning_tools.dependencies import prune_pkgs_in_requirements, replace_oldest_ver
from lightning_tools.dev.dependencies import prune_pkgs_in_requirements, replace_oldest_ver

_PATH_ROOT = Path(__file__).parent.parent.parent

Expand Down