Skip to content

Commit

Permalink
Merge pull request #162 from codelion/fix-version-info
Browse files Browse the repository at this point in the history
Update setup.py
  • Loading branch information
codelion authored Jan 29, 2025
2 parents 70ff4de + 6790041 commit 2ad6e5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
2 changes: 1 addition & 1 deletion optillm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os

# Version information
__version__ = "0.1.3"
__version__ = "0.1.4"

# Get the path to the root optillm.py
spec = util.spec_from_file_location(
Expand Down
14 changes: 3 additions & 11 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
import os
from setuptools import setup, find_packages

def read_version():
version_dict = {}
try:
with open('optillm/__init__.py', 'r') as f:
exec(f.read(), version_dict)
return version_dict.get('__version__', 'unknown')
except Exception:
return 'unknown'

setup(
name="optillm",
version="0.1.2",
packages=find_packages(),
version="0.1.4",
packages=find_packages(include=['optillm', 'optillm.*']), # This ensures all subpackages are included
py_modules=['optillm'],
package_data={
'optillm': [
Expand Down

0 comments on commit 2ad6e5e

Please sign in to comment.