Skip to content

Commit c7be0e0

Browse files
committed
Migrate namespace package names
1 parent 2bf4b92 commit c7be0e0

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

setup.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,16 +158,13 @@ def clear_package_build_path(package_rel_path):
158158
package_file = os.path.join(package_path, "__init__.py")
159159
metadata = get_metadata(package_file)
160160
requirements = parse_requirements(os.path.join(package_path, "requirements.txt"))
161-
print(package_path)
162-
print(package_file)
163-
print(metadata)
164-
print(requirements)
161+
print("\n#### PACKAGE package_path={} package_file={} metadata={} requirements={} ####".format(package, package_file, metadata, requirements))
165162

166163
# Again, we need to clean build paths between runs
167164
clear_package_build_path(rel_package_path)
168165

169166
setuptools.setup(
170-
name=package,
167+
name=package.replace(".", "_"),
171168
namespace_packages=[NAMESPACE_PACKAGE_NAME],
172169
packages=[package],
173170
package_data={package: ["__init__.py"]},

0 commit comments

Comments
 (0)