Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 2 additions & 2 deletions conda-env/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Conda environment for CI/CD (used in GH Actions)
# TODO: 1. Replace template in `name` with your library name
name: template-ci
name: myproject-ci
channels:
- conda-forge
- defaults
Expand All @@ -16,4 +16,4 @@ dependencies:
# ==========================================
- pytest
# TODO: 3. Replace template in`prefix` with your library name
prefix: /opt/miniconda3/envs/template-ci
prefix: /opt/miniconda3/envs/myproject-ci
7 changes: 2 additions & 5 deletions conda-env/dev.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Conda environment for local development
# Usage: <mamba|conda> env create -f conda-env/dev.yml
# TODO: 1. Replace template in `name` with your library name
name: template-dev
name: myproject-dev
channels:
- conda-forge
- defaults
# TODO: 2. Update and add dependencies as needed
dependencies:
# ==========================================
# Base - for building this package
Expand All @@ -30,5 +28,4 @@ dependencies:
# Testing - for running unit tests
# ==========================================
- pytest
# TODO: 3. Replace template in `prefix` with your library name
prefix: /opt/miniconda3/env/template-dev
prefix: /opt/miniconda3/env/myproject-dev
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import sys
sys.path.insert(0, os.path.abspath('..'))

import python_template
import myproject

# -- General configuration ---------------------------------------------

Expand Down Expand Up @@ -55,9 +55,9 @@
# the built documents.
#
# The short X.Y version.
version = python_template.__version__
version = myproject.__version__
# The full version, including alpha/beta/rc tags.
release = python_template.__version__
release = myproject.__version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@
long_description=readme + "\n\n" + history,
include_package_data=True,
# TODO: Update keywords and name to your library name
keywords="python_template",
name="python_template",
keywords="myproject",
name="myproject",
# TODO: Update include statement in packages to your library modules
packages=find_packages(include=["python_template", "python_template.*"]),
packages=find_packages(include=["myproject", "myproject.*"]),
test_suite="tests",
tests_require=test_requirements,
# TODO: Update url to the library's GitHub URL
url="https://github.com/tomvothecoder/python-template-repo",
url="https://github.com/tomvothecoder/myproject",
version="0.1.0",
zip_safe=False,
)
2 changes: 1 addition & 1 deletion tests/test_python_template.py → tests/test_myproject.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

import pytest

from python_template import python_template # noqa: F401
from myproject import myproject # noqa: F401


@pytest.fixture
Expand Down