Skip to content

Commit

Permalink
rename project
Browse files Browse the repository at this point in the history
  • Loading branch information
blooop committed May 5, 2024
1 parent 4d067b8 commit fd40cb1
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 24 deletions.
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@

copyright = "2023, Austin Gregg-Smith" # pylint:disable=redefined-builtin
author = "Austin Gregg-Smith"
release = metadata.version("python_template")
project = f"python_template {release}"
release = metadata.version("deps_rocker")
project = f"deps_rocker {release}"


# -- General configuration ---------------------------------------------------
Expand All @@ -29,7 +29,7 @@
html_theme = "sphinx_rtd_theme"
# html_static_path = ["_static"]

autoapi_dirs = ["../python_template"]
autoapi_dirs = ["../deps_rocker"]
autoapi_ignore = ["*example_*", "*example*", "*experimental*"]


Expand Down
4 changes: 2 additions & 2 deletions docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.. python_template documentation master file, created by
.. deps_rocker documentation master file, created by
sphinx-quickstart on Mon Nov 27 15:01:32 2023.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to python_template's documentation!
Welcome to deps_rocker's documentation!
===========================================

.. toctree::
Expand Down
10 changes: 5 additions & 5 deletions docs/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ This has basic setup for

## Continuous Integration Status

[![Ci](https://github.com/blooop/python_template/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/blooop/python_template/actions/workflows/ci.yml?query=branch%3Amain)
[![Codecov](https://codecov.io/gh/blooop/python_template/branch/main/graph/badge.svg?token=Y212GW1PG6)](https://codecov.io/gh/blooop/python_template)
[![GitHub issues](https://img.shields.io/github/issues/blooop/python_template.svg)](https://GitHub.com/blooop/python_template/issues/)
[![GitHub pull-requests merged](https://badgen.net/github/merged-prs/blooop/python_template)](https://github.com/blooop/python_template/pulls?q=is%3Amerged)
[![GitHub release](https://img.shields.io/github/release/blooop/python_template.svg)](https://GitHub.com/blooop/python_template/releases/)
[![Ci](https://github.com/blooop/deps_rocker/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/blooop/deps_rocker/actions/workflows/ci.yml?query=branch%3Amain)
[![Codecov](https://codecov.io/gh/blooop/deps_rocker/branch/main/graph/badge.svg?token=Y212GW1PG6)](https://codecov.io/gh/blooop/deps_rocker)
[![GitHub issues](https://img.shields.io/github/issues/blooop/deps_rocker.svg)](https://GitHub.com/blooop/deps_rocker/issues/)
[![GitHub pull-requests merged](https://badgen.net/github/merged-prs/blooop/deps_rocker)](https://github.com/blooop/deps_rocker/pulls?q=is%3Amerged)
[![GitHub release](https://img.shields.io/github/release/blooop/deps_rocker.svg)](https://GitHub.com/blooop/deps_rocker/releases/)
[![License](https://img.shields.io/pypi/l/bencher)](https://opensource.org/license/mit/)
[![Python](https://img.shields.io/badge/python-3.10%20%7C%203.11-blue)](https://www.python.org/downloads/release/python-310/)

Expand Down
10 changes: 5 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[project]
name = "python_template"
name = "deps_rocker"
version = "0.1.0"

authors = [{ name = "Austin Gregg-Smith", email = "blooop@gmail.com" }]
Expand All @@ -8,7 +8,7 @@ readme = "README.md"

requires-python = ">=3.10"

dependencies = ["numpy>=1.2,<=1.26.3"]
dependencies = ["numpy>=1.2,<=1.26.3","rocker","pyyaml","off-your-rocker"]

[project.optional-dependencies]
test = [
Expand All @@ -22,12 +22,12 @@ test = [
]

[project.urls]
Source = "https://github.com/blooop/python_template"
Home = "https://github.com/blooop/python_template"
Source = "https://github.com/blooop/deps_rocker"
Home = "https://github.com/blooop/deps_rocker"


[tool.flit.module]
name = "python_template"
name = "deps_rocker"

[build-system]
requires = ["flit_core >=3.2,<4"]
Expand Down
Empty file removed python_template/__init__.py
Empty file.
6 changes: 0 additions & 6 deletions python_template/basic_class.py

This file was deleted.

4 changes: 2 additions & 2 deletions scripts/rename_project.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

mv python_template $1
mv deps_rocker $1

find . \( -type d -name .git -prune \) -o \( -type f -not -name 'tasks.json' -not -name 'update_from_template.sh' -not -name 'update_from_template_ours.sh' \) -print0 | xargs -0 sed -i "s/python_template/$1/g"
find . \( -type d -name .git -prune \) -o \( -type f -not -name 'tasks.json' -not -name 'update_from_template.sh' -not -name 'update_from_template_ours.sh' \) -print0 | xargs -0 sed -i "s/deps_rocker/$1/g"
2 changes: 1 addition & 1 deletion test/test_basic.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from unittest import TestCase
from python_template.basic_class import BasicClass
from deps_rocker.basic_class import BasicClass


class TestBasicClass(TestCase):
Expand Down

0 comments on commit fd40cb1

Please sign in to comment.