apdev 0.1.2__tar.gz → 0.1.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {apdev-0.1.2 → apdev-0.1.4}/PKG-INFO +1 -1
- {apdev-0.1.2 → apdev-0.1.4}/pyproject.toml +1 -1
- {apdev-0.1.2 → apdev-0.1.4}/src/apdev/__init__.py +1 -1
- {apdev-0.1.2 → apdev-0.1.4}/src/apdev/release.sh +7 -2
- {apdev-0.1.2 → apdev-0.1.4}/src/apdev.egg-info/PKG-INFO +1 -1
- {apdev-0.1.2 → apdev-0.1.4}/README.md +0 -0
- {apdev-0.1.2 → apdev-0.1.4}/setup.cfg +0 -0
- {apdev-0.1.2 → apdev-0.1.4}/src/apdev/__main__.py +0 -0
- {apdev-0.1.2 → apdev-0.1.4}/src/apdev/check_chars.py +0 -0
- {apdev-0.1.2 → apdev-0.1.4}/src/apdev/check_imports.py +0 -0
- {apdev-0.1.2 → apdev-0.1.4}/src/apdev/cli.py +0 -0
- {apdev-0.1.2 → apdev-0.1.4}/src/apdev/config.py +0 -0
- {apdev-0.1.2 → apdev-0.1.4}/src/apdev/py.typed +0 -0
- {apdev-0.1.2 → apdev-0.1.4}/src/apdev.egg-info/SOURCES.txt +0 -0
- {apdev-0.1.2 → apdev-0.1.4}/src/apdev.egg-info/dependency_links.txt +0 -0
- {apdev-0.1.2 → apdev-0.1.4}/src/apdev.egg-info/entry_points.txt +0 -0
- {apdev-0.1.2 → apdev-0.1.4}/src/apdev.egg-info/requires.txt +0 -0
- {apdev-0.1.2 → apdev-0.1.4}/src/apdev.egg-info/top_level.txt +0 -0
- {apdev-0.1.2 → apdev-0.1.4}/tests/test_check_chars.py +0 -0
- {apdev-0.1.2 → apdev-0.1.4}/tests/test_check_imports.py +0 -0
- {apdev-0.1.2 → apdev-0.1.4}/tests/test_cli.py +0 -0
- {apdev-0.1.2 → apdev-0.1.4}/tests/test_config.py +0 -0
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "apdev"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.4"
|
|
8
8
|
description = "Shared development tools for Python projects - character validation, circular import detection, and more"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
license = {text = "Apache-2.0"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
# Example: ./release.sh 0.2.0
|
|
5
5
|
#
|
|
6
6
|
# Auto-detects project name from pyproject.toml and GitHub repo from git remote.
|
|
7
|
-
# Override with environment variables: PROJECT_NAME, GITHUB_REPO
|
|
7
|
+
# Override with environment variables: PROJECT_NAME, PACKAGE_NAME, GITHUB_REPO
|
|
8
8
|
|
|
9
9
|
# Note: set -e is disabled to allow step-by-step execution
|
|
10
10
|
# Individual steps will handle their own error handling
|
|
@@ -27,6 +27,11 @@ if [ -z "$PROJECT_NAME" ]; then
|
|
|
27
27
|
fi
|
|
28
28
|
fi
|
|
29
29
|
|
|
30
|
+
# Determine Python package (import) name
|
|
31
|
+
if [ -z "$PACKAGE_NAME" ]; then
|
|
32
|
+
PACKAGE_NAME="${PROJECT_NAME//-/_}"
|
|
33
|
+
fi
|
|
34
|
+
|
|
30
35
|
# Auto-detect GitHub repo from git remote (unless set via env)
|
|
31
36
|
if [ -z "$GITHUB_REPO" ]; then
|
|
32
37
|
REMOTE_URL=$(git remote get-url origin 2>/dev/null)
|
|
@@ -166,7 +171,7 @@ step1_version_verification() {
|
|
|
166
171
|
echo -e "${BLUE}━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━${NC}"
|
|
167
172
|
|
|
168
173
|
PYPROJECT_VERSION=$(grep -E '^version = ' pyproject.toml | sed 's/version = "\(.*\)"/\1/')
|
|
169
|
-
INIT_VERSION=$(grep -E '^__version__ = ' src/${
|
|
174
|
+
INIT_VERSION=$(grep -E '^__version__ = ' src/${PACKAGE_NAME}/__init__.py | sed 's/__version__ = "\(.*\)"/\1/')
|
|
170
175
|
|
|
171
176
|
echo -e " pyproject.toml: ${CYAN}${PYPROJECT_VERSION}${NC}"
|
|
172
177
|
echo -e " __init__.py: ${CYAN}${INIT_VERSION}${NC}"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|