Skip to content

Commit

Permalink
Rename src directory to repominify for v0.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewcasale committed Dec 14, 2024
1 parent 7aa9c08 commit fe72e7c
Show file tree
Hide file tree
Showing 14 changed files with 25 additions and 6 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,17 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.3.0] - 2024-12-14

### Changed
- Major version bump to reflect stable package structure
- Renamed src directory to repominify for better package organization
- Updated package configuration to match new directory structure

## [0.1.3] - 2024-12-14

### Changed
- Package name in setup.py set to 'src' for proper module organization
- Improved package organization while maintaining repominify name

## [0.1.2] - 2024-12-14

Expand Down Expand Up @@ -44,6 +51,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Restructured project to use src/ directory layout
- Updated package metadata and documentation

[1.3.0]: https://github.com/mikewcasale/repominify/compare/v0.1.3...v1.3.0
[0.1.3]: https://github.com/mikewcasale/repominify/compare/v0.1.2...v0.1.3
[0.1.2]: https://github.com/mikewcasale/repominify/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/mikewcasale/repominify/compare/v0.1.0...v0.1.1
Expand Down
2 changes: 1 addition & 1 deletion src/__init__.py → repominify/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
repominify - Optimize codebase representations for LLMs
"""

__version__ = "0.1.0"
__version__ = "0.1.3"
__author__ = "Mike Casale"
__email__ = "[email protected]"

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
19 changes: 15 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,27 @@
from setuptools import setup, find_namespace_packages
import os
import re

def get_version():
init_path = os.path.join("repominify", "__init__.py")
with open(init_path, "r") as f:
content = f.read()
version_match = re.search(r'^__version__ = ["\']([^"\']*)["\']', content, re.M)
if version_match:
return version_match.group(1)
raise RuntimeError("Cannot find version string.")

setup(
name="src",
version="0.1.3",
name="repominify",
version=get_version(),
author="Mike Casale",
author_email="[email protected]",
description="A Python package that optimizes codebase representations for LLMs by generating compact, context-rich summaries",
long_description=open("README.md").read(),
long_description_content_type="text/markdown",
url="https://github.com/mikewcasale/repominify",
package_dir={"": "src"},
packages=find_namespace_packages(where="src", include=["*"]),
package_dir={"": "repominify"},
packages=find_namespace_packages(where="repominify", include=["*"]),
python_requires=">=3.7",
install_requires=[
"networkx>=2.6.0",
Expand Down

0 comments on commit fe72e7c

Please sign in to comment.