3131import glob
3232import os
3333import logging
34- try :
35- from distutils .core import setup
36- except ImportError :
37- from setuptools import setup
34+ from setuptools import setup , find_packages
3835
3936from easybuild .tools .version import VERSION
4037
@@ -68,16 +65,6 @@ def find_rel_test():
6865 return res
6966
7067
71- easybuild_packages = [
72- "easybuild" , "easybuild.base" ,
73- "easybuild.framework" , "easybuild.framework.easyconfig" , "easybuild.framework.easyconfig.format" ,
74- "easybuild.toolchains" , "easybuild.toolchains.compiler" , "easybuild.toolchains.mpi" ,
75- "easybuild.toolchains.fft" , "easybuild.toolchains.linalg" , "easybuild.tools" , "easybuild.tools.containers" ,
76- "easybuild.tools.deprecated" , "easybuild.tools.job" , "easybuild.tools.toolchain" ,
77- "easybuild.tools.module_naming_scheme" , "easybuild.tools.package" , "easybuild.tools.package.package_naming_scheme" ,
78- "easybuild.tools.py2vs3" , "easybuild.tools.repository" , "easybuild.tools.tomllib.tomli" , "test.framework" , "test" ,
79- ]
80-
8168setup (
8269 name = "easybuild-framework" ,
8370 version = str (VERSION ),
@@ -88,7 +75,7 @@ def find_rel_test():
8875 license = "GPLv2" ,
8976 keywords = "software build building installation installing compilation HPC scientific" ,
9077 url = "https://easybuild.io" ,
91- packages = easybuild_packages ,
78+ packages = find_packages () ,
9279 package_dir = {'test.framework' : 'test/framework' },
9380 package_data = {'test.framework' : find_rel_test ()},
9481 scripts = [
0 commit comments