Skip to content

Commit 2256137

Browse files
committed
Update setup.py
1 parent b5bac72 commit 2256137

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

setup.py

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,10 @@
1+
import os
12
from setuptools import setup, find_packages
23

3-
def read_version():
4-
version_dict = {}
5-
try:
6-
with open('optillm/__init__.py', 'r') as f:
7-
exec(f.read(), version_dict)
8-
return version_dict.get('__version__', 'unknown')
9-
except Exception:
10-
return 'unknown'
11-
124
setup(
135
name="optillm",
14-
version="0.1.2",
15-
packages=find_packages(),
6+
version="0.1.3",
7+
packages=find_packages(include=['optillm', 'optillm.*']), # This ensures all subpackages are included
168
py_modules=['optillm'],
179
package_data={
1810
'optillm': [

0 commit comments

Comments
 (0)