File tree Expand file tree Collapse file tree 1 file changed +4
-12
lines changed
Expand file tree Collapse file tree 1 file changed +4
-12
lines changed Original file line number Diff line number Diff line change 11import re
2-
3- from glob import glob
4- from setuptools import setup
2+ from setuptools import setup , find_packages
53
64def readme ():
75 with open ('README.md' ) as f :
@@ -31,15 +29,9 @@ def readme():
3129 url = 'https://github.com/peppelinux/pyMDL-MDOC' ,
3230 author = 'Giuseppe De Marco' ,
333134- license = 'License :: OSI Approved :: Apache Software License' ,
35- # scripts=[f'{_pkg_name}/bin/{_pkg_name}'],
36- packages = [f"{ _pkg_name } " ],
37- package_dir = {f"{ _pkg_name } " : f"{ _pkg_name } " },
38- package_data = {f"{ _pkg_name } " : [
39- i .replace (f'{ _pkg_name } /' , '' )
40- for i in glob (f'{ _pkg_name } /**' , recursive = True )
41- ]
42- },
32+ license = 'Apache Software License' ,
33+ packages = find_packages (include = ["pymdoccbor" , "pymdoccbor.*" ]), # ✅ Detect all subpackages
34+ include_package_data = True , # ✅ Include data files
4335 install_requires = [
4436 'cbor2>=5.4.0,<5.5.0' ,
4537 'cwt>=2.3.0,<2.4' ,
You can’t perform that action at this time.
0 commit comments