Skip to content

Commit c0c391f

Browse files
committed
re-init / update
1 parent a613b26 commit c0c391f

File tree

14 files changed

+165
-51
lines changed

14 files changed

+165
-51
lines changed

.github/workflows/ci-checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
uses: Lightning-AI/utilities/.github/workflows/check-package.yml@main
2929
with:
3030
actions-ref: main
31-
import-name: "lit_sandbox"
31+
import-name: "litmodels"
3232
artifact-name: dist-packages-${{ github.sha }}
3333
testing-matrix: |
3434
{

.github/workflows/ci-testing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ jobs:
6565
6666
- name: Tests
6767
run: |
68-
coverage run --source lit_sandbox -m pytest src tests -v
68+
coverage run --source litmodels -m pytest src tests -v
6969
7070
- name: Statistics
7171
if: success()

.github/workflows/release-pypi.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121

2222
- name: Install dependencies
2323
run: pip install -U build twine
24+
- name: Overview Readme for release
25+
run: echo "# Lit Logger" > README.md
2426
- name: Build package
2527
run: python -m build
2628
- name: Check package
@@ -35,9 +37,9 @@ jobs:
3537
password: ${{ secrets.test_pypi_password }}
3638
repository_url: https://test.pypi.org/legacy/
3739

38-
- name: Publish distribution 📦 to PyPI
39-
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
40-
uses: pypa/[email protected]
41-
with:
42-
user: __token__
43-
password: ${{ secrets.pypi_password }}
40+
#- name: Publish distribution 📦 to PyPI
41+
# if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
42+
# uses: pypa/[email protected]
43+
# with:
44+
# user: __token__
45+
# password: ${{ secrets.pypi_password }}

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ test: clean
1010
pip install -q -r _requirements/test.txt
1111

1212
# use this to run tests
13-
python -m coverage run --source lit_sandbox -m pytest src tests -v --flake8
13+
python -m coverage run --source litmodels -m pytest src tests -v --flake8
1414
python -m coverage report
1515

1616
docs: clean

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ This is starter project template which shall simplify initial steps for each new
1414

1515
Listing the implemented sections:
1616

17-
- sample package named `lit_sandbox`
17+
- sample package named `litmodels`
1818
- setting [CI](https://github.com/Lightning-AI/lightning-sandbox/actions?query=workflow%3A%22CI+testing%22) for package and _tests_ folder
1919
- setup/install package
2020
- setting docs with Sphinx
@@ -26,7 +26,6 @@ Listing the implemented sections:
2626

2727
You still need to enable some external integrations such as:
2828

29-
- [ ] rename `pl_<sandbox>` to anu other name, simple find-replace shall work well
3029
- [ ] update path used in the badges to the repository
3130
- [ ] lock the main breach in GH setting - no direct push without PR
3231
- [ ] set `gh-pages` as website and _docs_ as source folder in GH setting

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
# alternative https://stackoverflow.com/a/67692/4521646
2525
spec = spec_from_file_location(
26-
"lit_sandbox/__about__.py", os.path.join(_PATH_SOURCE, "lit_sandbox", "__about__.py")
26+
"litmodels/__about__.py", os.path.join(_PATH_SOURCE, "litmodels", "__about__.py")
2727
)
2828
about = module_from_spec(spec)
2929
spec.loader.exec_module(about)

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
_PATH_REQUIRES = os.path.join(_PATH_ROOT, "_requirements")
1313

1414

15-
def _load_py_module(fname, pkg="lit_sandbox"):
15+
def _load_py_module(fname, pkg="litmodels"):
1616
spec = spec_from_file_location(os.path.join(pkg, fname), os.path.join(_PATH_SOURCE, pkg, fname))
1717
py = module_from_spec(spec)
1818
spec.loader.exec_module(py)

src/lit_sandbox/__init__.py

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/lit_sandbox/my_module.py

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)